usb: typec: ucsi: Add conditional dependency on USB role switch
Subsystems (2)
Heikki Krogerus
maintainerPATCH 1/1 usb: typec: ucsi: Add conditional dependency on USB role switch
Preventing the driver from being built-in when USB Role Switch Class is being build as module. That fixes a potential undefined reference error.
Fixes 89795852c9c4 ("usb: typec: ucsi: Add support for USB role switch")
Reported-by kernel test robot <[email protected]>
Signed-off-by Heikki Krogerus <[email protected]>
--- drivers/usb/typec/ucsi/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/usb/typec/ucsi/Kconfig +1 -0
@@ -3,6 +3,7 @@ config TYPEC_UCSI tristate "USB Type-C Connector System Software Interface driver" depends on !CPU_BIG_ENDIAN + depends on USB_ROLE_SWITCH || !USB_ROLE_SWITCH help USB Type-C Connector System Software Interface (UCSI) is a specification for an interface that allows the operating system to
Signature · 1 line
2.29.2