Skip to content

Commit

Permalink
staging: wusbcore: Fix build error without CONFIG_USB
Browse files Browse the repository at this point in the history
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 <hulkci@huawei.com>
Fixes: 71ed79b ("USB: Move wusbcore and UWB to staging as it is obsolete")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190809102150.66896-1-yuehaibing@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
YueHaibing authored and Greg Kroah-Hartman committed Aug 9, 2019
1 parent 7794f48 commit 894efaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/wusbcore/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 894efaf

Please sign in to comment.