aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYueHaibing <[email protected]>2019-08-09 18:21:50 +0800
committerGreg Kroah-Hartman <[email protected]>2019-08-09 14:56:57 +0200
commit894efaf5236d3abf0512d8a71ae927ea9f99b509 (patch)
tree5f615af273338074acf7813cba98e0863db62a02
parent7794f486ed0b1fa8022dd0a27b9babf86a46d1cf (diff)
staging: wusbcore: Fix build error without CONFIG_USB
USB_WUSB should depends on CONFIG_USB, otherwise building fails drivers/staging/wusbcore/wusbhc.o: In function `wusbhc_giveback_urb': wusbhc.c:(.text+0xa28): undefined reference to `usb_hcd_giveback_urb' Reported-by: Hulk Robot <[email protected]> Fixes: 71ed79b0e4be ("USB: Move wusbcore and UWB to staging as it is obsolete") Signed-off-by: YueHaibing <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--drivers/staging/wusbcore/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wusbcore/Kconfig b/drivers/staging/wusbcore/Kconfig
index 056c60b4d57f..a559d023b508 100644
--- a/drivers/staging/wusbcore/Kconfig
+++ b/drivers/staging/wusbcore/Kconfig
@@ -4,7 +4,7 @@
#
config USB_WUSB
tristate "Enable Wireless USB extensions"
- depends on UWB
+ depends on UWB && USB
select CRYPTO
select CRYPTO_AES
select CRYPTO_CCM