RE: [PATCH -next] staging: ozwpan depends on NET

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi Randy,

Agreed - many thanks for this.

Chris Kelly

-----Original Message-----
>From: Randy Dunlap [mailto:rdunlap@xxxxxxxxxxxx] 
>Sent: 14 March 2012 5:03 PM
>To: Stephen Rothwell
>Cc: linux-next@xxxxxxxxxxxxxxx; LKML; Chris Kelly; Greg Kroah-Hartman; devel@xxxxxxxxxxxxxxxxxxxx
>Subject: [PATCH -next] staging: ozwpan depends on NET

>From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>

>Fix build errors:  add depends on NET.

>ERROR: "skb_clone" [drivers/staging/ozwpan/ozwpan.ko] undefined!
>ERROR: "dev_get_by_name" [drivers/staging/ozwpan/ozwpan.ko] undefined!
>ERROR: "dev_remove_pack" [drivers/staging/ozwpan/ozwpan.ko] undefined!
>ERROR: "init_net" [drivers/staging/ozwpan/ozwpan.ko] undefined!
>ERROR: "__alloc_skb" [drivers/staging/ozwpan/ozwpan.ko] undefined!
>ERROR: "kfree_skb" [drivers/staging/ozwpan/ozwpan.ko] undefined!
>ERROR: "dev_add_pack" [drivers/staging/ozwpan/ozwpan.ko] undefined!
>ERROR: "consume_skb" [drivers/staging/ozwpan/ozwpan.ko] undefined!
>ERROR: "dev_queue_xmit" [drivers/staging/ozwpan/ozwpan.ko] undefined!
>ERROR: "skb_put" [drivers/staging/ozwpan/ozwpan.ko] undefined!

>Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx>

Acked-by: Chris Kelly <ckelly@xxxxxxxxxxxxxxx>

>Cc: Chris Kelly <ckelly@xxxxxxxxxxxxxxx>
>Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
>---
> drivers/staging/ozwpan/Kconfig |    2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

>--- linux-next-20120314.orig/drivers/staging/ozwpan/Kconfig
>+++ linux-next-20120314/drivers/staging/ozwpan/Kconfig
>@@ -1,6 +1,6 @@
> config USB_WPAN_HCD
> 	tristate "USB over WiFi Host Controller"
>-	depends on USB
>+	depends on USB && NET
> 	help
> 	  A driver for USB Host Controllers that are compatible with
> 	  Ozmo Devices USB over WiFi technology.

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Video for Linux]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Photos]     [Yosemite Photos]     [Free Singles Community]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Yosemite Backpacking]

Add to Google Powered by Linux