Skip to content

Commit 77a4946

Browse files
mwgonzalezgregkh
authored andcommitted
usb: dwc3: Allow building USB_DWC3_QCOM without EXTCON
Keep EXTCON support optional, as some platforms do not need it. Do the same for USB_DWC3_OMAP while we're at it. Fixes: 3def403 ("usb: dwc3: add EXTCON dependency for qcom") Signed-off-by: Marc Gonzalez <[email protected]> Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 409fba2 commit 77a4946

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

drivers/usb/dwc3/Kconfig

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ comment "Platform Glue Driver Support"
5454

5555
config USB_DWC3_OMAP
5656
tristate "Texas Instruments OMAP5 and similar Platforms"
57-
depends on EXTCON && (ARCH_OMAP2PLUS || COMPILE_TEST)
57+
depends on ARCH_OMAP2PLUS || COMPILE_TEST
58+
depends on EXTCON || !EXTCON
5859
depends on OF
5960
default USB_DWC3
6061
help
@@ -115,7 +116,8 @@ config USB_DWC3_ST
115116

116117
config USB_DWC3_QCOM
117118
tristate "Qualcomm Platform"
118-
depends on EXTCON && (ARCH_QCOM || COMPILE_TEST)
119+
depends on ARCH_QCOM || COMPILE_TEST
120+
depends on EXTCON || !EXTCON
119121
depends on OF
120122
default USB_DWC3
121123
help

0 commit comments

Comments
 (0)