diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2022-03-15 14:52:32 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-03-18 13:16:05 +0100 |
commit | 1a282ef0a18fff8a37a60566da3a87b5d8daf1de (patch) | |
tree | 756d69c643f317e4b156df632e882e442d91b8c3 /drivers/tty | |
parent | tty: serial: jsm: fix two assignments in if conditions (diff) | |
download | linux-1a282ef0a18fff8a37a60566da3a87b5d8daf1de.tar.xz linux-1a282ef0a18fff8a37a60566da3a87b5d8daf1de.zip |
serial: SERIAL_SUNPLUS should depend on ARCH_SUNPLUS
Sunplus serial ports are only present on Sunplus SoCs. Hence add a
dependency on ARCH_SUNPLUS, to prevent asking the user about this driver
when configuring a kernel without Sunplus SoC support.
Fixes: 9e8d5470325f25be ("serial: sunplus-uart: Add Sunplus SoC UART Driver")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/59f46272ab5b16853acac4d585c3333cfd394223.1647352195.git.geert+renesas@glider.be
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index e952ec5c7a7c..5551192560bb 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig @@ -1566,7 +1566,7 @@ config SERIAL_LITEUART_CONSOLE config SERIAL_SUNPLUS tristate "Sunplus UART support" - depends on OF || COMPILE_TEST + depends on ARCH_SUNPLUS || COMPILE_TEST select SERIAL_CORE help Select this option if you would like to use Sunplus serial port on |