usb: gadget: Tighten CI_UDC dependencies

This driver cannot build when DM_USB_GADGET is enabled as both options
control building of files that use the same global namespace and
functionality. In this case make CI_UDC depend on DM_USB_GADGET being
disabled as non-DM support is the legacy choice.

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
This commit is contained in:
Tom Rini
2025-11-12 22:13:03 +01:00
committed by Marek Vasut
parent 4ea93faceb
commit 70c3b4c318
+1
View File
@@ -151,6 +151,7 @@ config USB_GADGET_OS_DESCRIPTORS
config CI_UDC
bool "ChipIdea device controller"
depends on !DM_USB_GADGET
select USB_GADGET_DUALSPEED
help
Say Y here to enable device controller functionality of the