]> git.baikalelectronics.ru Git - kernel.git/commit
serial: SERIAL_SUNPLUS should depend on ARCH_SUNPLUS
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 15 Mar 2022 13:52:32 +0000 (14:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Mar 2022 12:16:05 +0000 (13:16 +0100)
commit175298e7a2890c79c3af6659bc931c31776faf9e
tree756d69c643f317e4b156df632e882e442d91b8c3
parent8e989ae0a517d59fa705f8a9ad4071d66f8a15fc
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: 2e5974f6540e83f9 ("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>
drivers/tty/serial/Kconfig