All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/2] serial: 8250: SERIAL_8250_FSL should not default to y when compile-testing
@ 2021-09-24  7:12 ` Geert Uytterhoeven
  0 siblings, 0 replies; 11+ messages in thread
From: Geert Uytterhoeven @ 2021-09-24  7:12 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby, Johan Hovold, Shawn Guo, Li Yang,
	Scott Wood
  Cc: linux-serial, linuxppc-dev, linux-arm-kernel, linux-kernel,
	Geert Uytterhoeven

Commit b1442c55ce8977aa ("serial: 8250: extend compile-test coverage")
added compile-test support to the Freescale 16550 driver.  However, as
SERIAL_8250_FSL is an invisible symbol, merely enabling compile-testing
now enables this driver.

Fix this by dropping the COMPILE_TEST default again, but making the
SERIAL_8250_FSL symbol visible instead.

Fixes: b1442c55ce8977aa ("serial: 8250: extend compile-test coverage")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
v2:
  - Split in two parts.
---
 drivers/tty/serial/8250/Kconfig | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig
index 808268edd2e82a45..0af96f3adab517f6 100644
--- a/drivers/tty/serial/8250/Kconfig
+++ b/drivers/tty/serial/8250/Kconfig
@@ -361,9 +361,12 @@ config SERIAL_8250_BCM2835AUX
 	  If unsure, say N.
 
 config SERIAL_8250_FSL
-	bool
+	bool "Freescale 16550-style UART support (8250 based driver)"
 	depends on SERIAL_8250_CONSOLE
-	default PPC || ARM || ARM64 || COMPILE_TEST
+	default PPC || ARM || ARM64
+	help
+	  Selecting this option will add support for the 16550-style serial
+	  port hardware found on Freescale SoCs.
 
 config SERIAL_8250_DW
 	tristate "Support for Synopsys DesignWare 8250 quirks"
-- 
2.25.1


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

end of thread, other threads:[~2021-09-24 15:14 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-24  7:12 [PATCH v2 1/2] serial: 8250: SERIAL_8250_FSL should not default to y when compile-testing Geert Uytterhoeven
2021-09-24  7:12 ` Geert Uytterhoeven
2021-09-24  7:12 ` Geert Uytterhoeven
2021-09-24  7:12 ` [PATCH v2 2/2] serial: 8250: SERIAL_8250_FSL should depend on Freescale platforms Geert Uytterhoeven
2021-09-24  7:12   ` Geert Uytterhoeven
2021-09-24  7:12   ` Geert Uytterhoeven
2021-09-24 14:10 ` [PATCH v2 1/2] serial: 8250: SERIAL_8250_FSL should not default to y when compile-testing Johan Hovold
2021-09-24 14:10   ` Johan Hovold
2021-09-24 14:10   ` Johan Hovold
2021-09-24 14:12 ` [PATCH] serial: 8250: allow disabling of Freescale 16550 compile test Johan Hovold
2021-09-24 15:14   ` Geert Uytterhoeven

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.