Staging: rtl8192u: depends on USB
authorRandy Dunlap <randy.dunlap@oracle.com>
Wed, 11 Nov 2009 17:31:23 +0000 (09:31 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Dec 2009 20:23:22 +0000 (12:23 -0800)
rtl8192u uses usb_* interfaces so it should depend on USB.

ERROR: "usb_kill_urb" [drivers/staging/rtl8192u/r8192u_usb.ko] undefined!
ERROR: "usb_deregister" [drivers/staging/rtl8192u/r8192u_usb.ko] undefined!
ERROR: "usb_control_msg" [drivers/staging/rtl8192u/r8192u_usb.ko] undefined!
ERROR: "usb_submit_urb" [drivers/staging/rtl8192u/r8192u_usb.ko] undefined!
ERROR: "usb_register_driver" [drivers/staging/rtl8192u/r8192u_usb.ko] undefined!
ERROR: "usb_free_urb" [drivers/staging/rtl8192u/r8192u_usb.ko] undefined!
ERROR: "usb_alloc_urb" [drivers/staging/rtl8192u/r8192u_usb.ko] undefined!

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8192u/Kconfig

index 808a088903c182b1bc409003547e8704c174460d..9913ab8fb3595df422ff301681a96bb84afc6eda 100644 (file)
@@ -1,6 +1,6 @@
 config RTL8192U
        tristate "RealTek RTL8192U Wireless LAN NIC driver"
-       depends on PCI && WLAN
+       depends on PCI && WLAN && USB
        depends on WIRELESS_EXT
        default N
        ---help---