diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2022-11-21 16:22:19 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-11-22 17:25:06 +0100 |
commit | 6d36e0e1a14ac9a382c7a157bce5354fd8b68134 (patch) | |
tree | 20e127221574d14356581a870f9a748887450fa8 | |
parent | ddacd6ef44cac60c4fb8cd1a994fb13e32c1c761 (diff) | |
download | linux-stable-6d36e0e1a14ac9a382c7a157bce5354fd8b68134.tar.gz linux-stable-6d36e0e1a14ac9a382c7a157bce5354fd8b68134.tar.bz2 linux-stable-6d36e0e1a14ac9a382c7a157bce5354fd8b68134.zip |
usb: USB_FOTG210 should depend on ARCH_GEMINI
The Faraday Technology FOTG210 USB2 Dual Role Controller is only present
on Cortina Systems Gemini SoCs. Hence add a dependency on ARCH_GEMINI,
to prevent asking the user about its drivers when configuring a kernel
without Cortina Systems Gemini SoC support.
Fixes: 1dd33a9f1b95ab59 ("usb: fotg210: Collect pieces of dual mode controller")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/a989b3b798ecaf3b45f35160e30e605636d66a77.1669044086.git.geert+renesas@glider.be
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/usb/fotg210/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/fotg210/Kconfig b/drivers/usb/fotg210/Kconfig index 2db6ac9f8074..2b05968735ba 100644 --- a/drivers/usb/fotg210/Kconfig +++ b/drivers/usb/fotg210/Kconfig @@ -4,6 +4,7 @@ config USB_FOTG210 tristate "Faraday FOTG210 USB2 Dual Role controller" depends on USB || USB_GADGET depends on HAS_DMA && HAS_IOMEM + depends on ARCH_GEMINI || COMPILE_TEST default ARCH_GEMINI select MFD_SYSCON help |