staging: wusbcore: Fix build error without CONFIG_USB
authorYueHaibing <yuehaibing@huawei.com>
Fri, 9 Aug 2019 10:21:50 +0000 (18:21 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Aug 2019 12:56:57 +0000 (14:56 +0200)
commit894efaf5236d3abf0512d8a71ae927ea9f99b509
tree5f615af273338074acf7813cba98e0863db62a02
parent7794f486ed0b1fa8022dd0a27b9babf86a46d1cf
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 <hulkci@huawei.com>
Fixes: 71ed79b0e4be ("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>
drivers/staging/wusbcore/Kconfig