mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
FROMGIT: 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:89795852c9("usb: typec: ucsi: Add support for USB role switch") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://lore.kernel.org/r/20210119083405.18325-1-heikki.krogerus@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commitc00243e7cdhttps://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-next) Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I4e388d5b7bc75a56c55aa34dacbb16d7db015331
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
314b8fccd9
commit
ff4017a055
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user