Commit 1a282ef0 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Greg Kroah-Hartman

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: 9e8d5470 ("serial: sunplus-uart: Add Sunplus SoC UART Driver")
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/59f46272ab5b16853acac4d585c3333cfd394223.1647352195.git.geert+renesas@glider.beSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b0db9263
......@@ -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
......
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