public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] serial: Make SERIAL_MVEBU_UART depend on ARCH_MVEBU
@ 2016-03-18 12:45 Geert Uytterhoeven
  2016-03-18 16:26 ` Gregory CLEMENT
  0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2016-03-18 12:45 UTC (permalink / raw)
  To: Wilson Ding, Gregory CLEMENT, Greg Kroah-Hartman, Jiri Slaby
  Cc: linux-serial, linux-kernel, Geert Uytterhoeven

Enabling support for the UART on Marvell EBU SoCs only make sense when
compiling for Marvell EBU SoCs, unless compile-testing.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 drivers/tty/serial/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index 13d4ed6caac4a78b..9ce164db25885009 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -1604,6 +1604,7 @@ config SERIAL_STM32_CONSOLE
 
 config SERIAL_MVEBU_UART
 	bool "Marvell EBU serial port support"
+	depends on ARCH_MVEBU || COMPILE_TEST
 	select SERIAL_CORE
 	help
 	  This driver is for Marvell EBU SoC's UART. If you have a machine
-- 
1.9.1

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

end of thread, other threads:[~2016-03-18 16:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-18 12:45 [PATCH] serial: Make SERIAL_MVEBU_UART depend on ARCH_MVEBU Geert Uytterhoeven
2016-03-18 16:26 ` Gregory CLEMENT

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox