Revert "tty: serial: samsung_tty: build it for any platform"
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 6 Mar 2020 10:23:01 +0000 (11:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Mar 2020 14:22:23 +0000 (15:22 +0100)
This reverts commit 175b558d0efb8b4f33aa7bd2c1b5389b912d3019.

When the user configures a kernel without support for Samsung SoCs, it
makes no sense to ask the user about enabling "Samsung SoC serial
support", as Samsung serial ports can only be found on Samsung SoCs.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20200306102301.16870-1-geert+renesas@glider.be
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/Kconfig

index b43dce785a58ff468ed2c9cbb6ceb2776e690ecf..aa6d821754919bbd4ab868592d7fb773ce1865ef 100644 (file)
@@ -237,6 +237,7 @@ config SERIAL_CLPS711X_CONSOLE
 
 config SERIAL_SAMSUNG
        tristate "Samsung SoC serial support"
+       depends on PLAT_SAMSUNG || ARCH_EXYNOS || COMPILE_TEST
        select SERIAL_CORE
        help
          Support for the on-chip UARTs on the Samsung S3C24XX series CPUs,