linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Revert "tty: serial: samsung_tty: build it for any platform"
@ 2020-03-06 10:23 Geert Uytterhoeven
  2020-03-06 10:36 ` Greg Kroah-Hartman
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Geert Uytterhoeven @ 2020-03-06 10:23 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby, Kukjin Kim, Krzysztof Kozlowski,
	Bartlomiej Zolnierkiewicz
  Cc: linux-arm-kernel, --cc, linux-samsung-soc, linux-serial,
	Geert Uytterhoeven

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>
---
 drivers/tty/serial/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index 880b962015302dca..932ad51099deae7d 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,
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-03-17 14:25 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-06 10:23 [PATCH] Revert "tty: serial: samsung_tty: build it for any platform" Geert Uytterhoeven
2020-03-06 10:36 ` Greg Kroah-Hartman
2020-03-06 12:32   ` Greg Kroah-Hartman
2020-03-06 12:53   ` Geert Uytterhoeven
2020-03-06 13:03     ` Greg Kroah-Hartman
2020-03-06 13:21       ` Geert Uytterhoeven
2020-03-09 14:07       ` Bartlomiej Zolnierkiewicz
2020-03-09 16:23       ` Bartlomiej Zolnierkiewicz
2020-03-09 18:09 ` Krzysztof Kozlowski
2020-03-10 10:11   ` Geert Uytterhoeven
2020-03-17 14:22 ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).