From 571244f5749e493ffc9dae5aad1445e0a6ed0572 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Tue, 1 Jul 2025 19:03:45 -0600 Subject: [PATCH] usb: gadget: rockchip: Add missing dependency 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 Reviewed-by: Quentin Schulz Reviewed-by: Kever Yang --- drivers/usb/gadget/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index 46a83141481..b0decd7b251 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.47.3