usb: gadget: Tighten CI_UDC dependencies
authorTom Rini <trini@konsulko.com>
Fri, 26 Sep 2025 15:30:34 +0000 (09:30 -0600)
committerMarek Vasut <marek.vasut+usb@mailbox.org>
Wed, 12 Nov 2025 21:13:03 +0000 (22:13 +0100)
commit70c3b4c3185c224211dda7273c5ce5f97ffffc5e
treec3e2b181674845db0e4109efcf713d6f6e684b3f
parent4ea93facebcd22d18e390fa566ae2bd79fcc4672
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>
drivers/usb/gadget/Kconfig