aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2011-08-26 11:06:08 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2011-08-26 11:35:54 -0700
commitb9c4decbd9530b0c4c6dc4ad0626af628b79cd53 (patch)
tree4f56732057a2ffece00a3da8e61f8fd28f903415
parentstaging: brcm80211: got rid of static function declarations in softmac phy (diff)
downloadlinux-dev-b9c4decbd9530b0c4c6dc4ad0626af628b79cd53.tar.xz
linux-dev-b9c4decbd9530b0c4c6dc4ad0626af628b79cd53.zip
staging: fix rts5139 depends & build
RTS5139 should depend on USB, not USB_SUPPORT, to fix build errors. USB_SUPPORT can be enabled for gadget-only support or when PCI is not enabled. ERROR: "usb_reset_endpoint" [drivers/staging/rts5139/rts5139.ko] undefined! ERROR: "usb_kill_urb" [drivers/staging/rts5139/rts5139.ko] undefined! ERROR: "usb_deregister_dev" [drivers/staging/rts5139/rts5139.ko] undefined! ERROR: "usb_unlink_urb" [drivers/staging/rts5139/rts5139.ko] undefined! ERROR: "usb_deregister" [drivers/staging/rts5139/rts5139.ko] undefined! ERROR: "usb_register_dev" [drivers/staging/rts5139/rts5139.ko] undefined! ERROR: "usb_free_coherent" [drivers/staging/rts5139/rts5139.ko] undefined! ERROR: "usb_submit_urb" [drivers/staging/rts5139/rts5139.ko] undefined! ERROR: "usb_sg_cancel" [drivers/staging/rts5139/rts5139.ko] undefined! ERROR: "usb_find_interface" [drivers/staging/rts5139/rts5139.ko] undefined! ERROR: "usb_sg_init" [drivers/staging/rts5139/rts5139.ko] undefined! ERROR: "usb_register_driver" [drivers/staging/rts5139/rts5139.ko] undefined! ERROR: "usb_alloc_coherent" [drivers/staging/rts5139/rts5139.ko] undefined! ERROR: "usb_free_urb" [drivers/staging/rts5139/rts5139.ko] undefined! ERROR: "usb_alloc_urb" [drivers/staging/rts5139/rts5139.ko] undefined! Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Cc: Edwin Rong <edwin_rong@realsil.com.cn> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/staging/rts5139/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rts5139/Kconfig b/drivers/staging/rts5139/Kconfig
index f940e516945a..afd526bf422a 100644
--- a/drivers/staging/rts5139/Kconfig
+++ b/drivers/staging/rts5139/Kconfig
@@ -1,6 +1,6 @@
config RTS5139
tristate "Realtek RTS5139 USB card reader support"
- depends on USB_SUPPORT && SCSI
+ depends on USB && SCSI
help
Say Y here to include driver code to support the Realtek
RTS5139 USB card readers.