Commit 77a49465 authored by Marc Gonzalez's avatar Marc Gonzalez Committed by Greg Kroah-Hartman

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: 3def4031 ("usb: dwc3: add EXTCON dependency for qcom")
Signed-off-by: default avatarMarc Gonzalez <marc.w.gonzalez@free.fr>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 409fba22
...@@ -54,7 +54,8 @@ comment "Platform Glue Driver Support" ...@@ -54,7 +54,8 @@ comment "Platform Glue Driver Support"
config USB_DWC3_OMAP config USB_DWC3_OMAP
tristate "Texas Instruments OMAP5 and similar Platforms" tristate "Texas Instruments OMAP5 and similar Platforms"
depends on EXTCON && (ARCH_OMAP2PLUS || COMPILE_TEST) depends on ARCH_OMAP2PLUS || COMPILE_TEST
depends on EXTCON || !EXTCON
depends on OF depends on OF
default USB_DWC3 default USB_DWC3
help help
...@@ -115,7 +116,8 @@ config USB_DWC3_ST ...@@ -115,7 +116,8 @@ config USB_DWC3_ST
config USB_DWC3_QCOM config USB_DWC3_QCOM
tristate "Qualcomm Platform" tristate "Qualcomm Platform"
depends on EXTCON && (ARCH_QCOM || COMPILE_TEST) depends on ARCH_QCOM || COMPILE_TEST
depends on EXTCON || !EXTCON
depends on OF depends on OF
default USB_DWC3 default USB_DWC3
help help
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment