The rockchip usb gadget driver cannot build without platform specific headers being available. Express that requirement in Kconfig as well.
Signed-off-by: Tom Rini <[email protected]> --- Cc: Kever Yang <[email protected]> Cc: Marek Vasut <[email protected]> --- drivers/usb/gadget/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index 46a83141481f..b0decd7b2512 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig @@ -202,6 +202,7 @@ config USB_FUNCTION_MASS_STORAGE config USB_FUNCTION_ROCKUSB bool "Enable USB rockusb gadget" + depends on ARCH_ROCKCHIP help Rockusb protocol is widely used by Rockchip SoC based devices. It can read/write info, image to/from devices. This enables the USB part of -- 2.43.0

