aboutsummaryrefslogtreecommitdiff
path: root/drivers/tty/serial/8250/Kconfig
diff options
context:
space:
mode:
authorGeert Uytterhoeven2021-09-15 14:49:22 +0200
committerGreg Kroah-Hartman2021-09-22 16:59:13 +0200
commit2a7458ed0672010d05d2f92d9918fade44913f11 (patch)
tree7d4dd2d65da65a54a563ca86dc0e603d237cdf91 /drivers/tty/serial/8250/Kconfig
parent5c7dcc4fd040dae6dc3d4f736f8ba1b0cb178bba (diff)
serial: 8250: SERIAL_8250_EM should depend on ARCH_RENESAS
The Emma Mobile integrated serial port hardware is only present on Emma Mobile SoCs. Hence add a dependency on ARCH_RENESAS, to prevent asking the user about this driver when configuring a kernel without Renesas ARM32 SoC support. Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/7b5a4bbf2f47b2c4c127817e8b1524a650795d97.1631710085.git.geert+renesas@glider.be Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/8250/Kconfig')
-rw-r--r--drivers/tty/serial/8250/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig
index 71ae16de0f90..808268edd2e8 100644
--- a/drivers/tty/serial/8250/Kconfig
+++ b/drivers/tty/serial/8250/Kconfig
@@ -376,7 +376,7 @@ config SERIAL_8250_DW
config SERIAL_8250_EM
tristate "Support for Emma Mobile integrated serial port"
depends on SERIAL_8250 && HAVE_CLK
- depends on ARM || COMPILE_TEST
+ depends on (ARM && ARCH_RENESAS) || COMPILE_TEST
help
Selecting this option will add support for the integrated serial
port hardware found on the Emma Mobile line of processors.