From: YueHaibing Date: Fri, 9 Aug 2019 10:21:50 +0000 (+0800) Subject: staging: wusbcore: Fix build error without CONFIG_USB X-Git-Tag: v5.4-rc1~136^2~68 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=894efaf5236d3abf0512d8a71ae927ea9f99b509;p=thirdparty%2Fkernel%2Flinux.git 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 Fixes: 71ed79b0e4be ("USB: Move wusbcore and UWB to staging as it is obsolete") Signed-off-by: YueHaibing Link: https://lore.kernel.org/r/20190809102150.66896-1-yuehaibing@huawei.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wusbcore/Kconfig b/drivers/staging/wusbcore/Kconfig index 056c60b4d57f9..a559d023b508f 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