Commit 894efaf5 authored by YueHaibing's avatar YueHaibing Committed by Greg Kroah-Hartman

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: default avatarHulk Robot <hulkci@huawei.com>
Fixes: 71ed79b0 ("USB: Move wusbcore and UWB to staging as it is obsolete")
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190809102150.66896-1-yuehaibing@huawei.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7794f486
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# #
config USB_WUSB config USB_WUSB
tristate "Enable Wireless USB extensions" tristate "Enable Wireless USB extensions"
depends on UWB depends on UWB && USB
select CRYPTO select CRYPTO
select CRYPTO_AES select CRYPTO_AES
select CRYPTO_CCM select CRYPTO_CCM
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment