public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Restrict ST ASC driver to only build on !ARM when COMPILE_TEST is set.
       [not found] <20130903185959.E387A661287@gitolite.kernel.org>
@ 2013-09-03 21:13 ` Dave Jones
  0 siblings, 0 replies; only message in thread
From: Dave Jones @ 2013-09-03 21:13 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: Srinivas Kandagatla, Greg Kroah-Hartman

The Kconfig for this option suggests it's only relevant on STi SoCs,
so add depends to have it not show up on archs that won't ever run it.
 
Signed-off-by: Dave Jones <davej@fedoraproject.org>

diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index cc4c868..304a637 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -1503,6 +1503,7 @@ config SERIAL_FSL_LPUART_CONSOLE
 config SERIAL_ST_ASC
 	tristate "ST ASC serial port support"
 	select SERIAL_CORE
+	depends on ARM || COMPILE_TEST
 	help
 	  This driver is for the on-chip Asychronous Serial Controller on
 	  STMicroelectronics STi SoCs.

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-09-03 21:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20130903185959.E387A661287@gitolite.kernel.org>
2013-09-03 21:13 ` Restrict ST ASC driver to only build on !ARM when COMPILE_TEST is set Dave Jones

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