Skip to content

Commit 1a282ef

Browse files
geertugregkh
authored andcommitted
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: 9e8d547 ("serial: sunplus-uart: Add Sunplus SoC UART Driver") Signed-off-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/59f46272ab5b16853acac4d585c3333cfd394223.1647352195.git.geert+renesas@glider.be Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent b0db926 commit 1a282ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/tty/serial/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1566,7 +1566,7 @@ config SERIAL_LITEUART_CONSOLE
15661566

15671567
config SERIAL_SUNPLUS
15681568
tristate "Sunplus UART support"
1569-
depends on OF || COMPILE_TEST
1569+
depends on ARCH_SUNPLUS || COMPILE_TEST
15701570
select SERIAL_CORE
15711571
help
15721572
Select this option if you would like to use Sunplus serial port on

0 commit comments

Comments
 (0)