[PATCH] libertas: make mesh code configurable

Johannes Berg johannes at sipsolutions.net
Thu Jun 19 11:38:05 EDT 2008


On Thu, 2008-06-19 at 17:04 +0200, Holger Schurig wrote:
> 
> --- wireless-testing.orig/drivers/net/wireless/libertas/persistcfg.c
> +++ wireless-testing/drivers/net/wireless/libertas/persistcfg.c
> @@ -1,3 +1,4 @@
> +#ifdef CONFIG_LIBERTAS_MESH
>  #include <linux/moduleparam.h>
>  #include <linux/delay.h>
>  #include <linux/etherdevice.h>
> @@ -451,3 +452,4 @@
>         sysfs_remove_group(&(dev->dev.kobj), &boot_opts_group);
>         sysfs_remove_group(&(dev->dev.kobj), &mesh_ie_group);
>  }
> +#endif

you know you can build files depending on Kconfig symbols, right? :)

johannes
-------------- 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.infradead.org/pipermail/libertas-dev/attachments/20080619/6d11e967/attachment.bin 


More information about the libertas-dev mailing list