On 2025/7/2 09:03, Tom Rini wrote:
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]>
Reviewed-by: Kever Yang <[email protected]>

Thanks,
- Kever
---
  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

--
Thanks & Best regards,
  Kever Yang
**************************************************************************************************
杨凯  市场部             Kever Yang      Marketing Department
瑞芯微电子股份有限公司                Rockchip Electronics Co.,Ltd。
地址:福建省福州市铜盘路软件大道89号软件园A区18号楼 (350003)
Addr : No.18 Building,A District,No.89,Fuzhou Software 
Boulevard,Fuzhou,Fujian,PRC

Reply via email to