[B.A.T.M.A.N.] [PATCH 4/4] batman-adv: include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit...

Sven Eckelmann sven.eckelmann at gmx.de
Sat May 1 15:28:30 CEST 2010


Andrew Lunn wrote:
> diff --git a/device.c b/device.c
> index 5f7655b..b2ecba2 100644
> --- a/device.c
> +++ b/device.c
> @@ -20,6 +20,7 @@
>   */
> 
>  #include <linux/device.h>
> +#include <linux/slab.h>
>  #include "main.h"
>  #include "device.h"
>  #include "send.h"
> @@ -27,8 +28,6 @@
>  #include "hash.h"
>  #include "hard-interface.h"
> 
> -#include "compat.h"
> -
>  static struct class *batman_class;
> 
>  static int Major;	/* Major number assigned to our device driver */

Can you explain why it is here ok to remove compat.h in maint?

Best regards,
	Sven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.open-mesh.org/pipermail/b.a.t.m.a.n/attachments/20100501/5950f5d6/attachment-0003.pgp>


More information about the B.A.T.M.A.N mailing list