From: Geert Uytterhoeven Date: Fri, 6 Mar 2020 10:23:01 +0000 (+0100) Subject: Revert "tty: serial: samsung_tty: build it for any platform" X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7e13d0a6b189169d9339a6ef96383cd6f0e00b2c;p=openwrt%2Fstaging%2Fblogic.git Revert "tty: serial: samsung_tty: build it for any platform" 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 Link: https://lore.kernel.org/r/20200306102301.16870-1-geert+renesas@glider.be Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index b43dce785a58..aa6d82175491 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig @@ -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,