linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] serial: i.MX: do not allow to build as module
@ 2013-10-07 12:44 Fabio Estevam
  2013-10-08  2:06 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2013-10-07 12:44 UTC (permalink / raw)
  To: gregkh; +Cc: s.hauer, linux, linux-serial, Fabio Estevam

From: Sascha Hauer <s.hauer@pengutronix.de>

Commit f7d2c0bbdb (serial: i.MX: evaluate linux,stdout-path property) adds a
call to add_preferred_console() into drivers/tty/serial/imx.c. The file can be
built as module, yet add_preferred_console() is not exported.

Fix the build failure by disabling module build for the i.MX driver.

Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 drivers/tty/serial/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index 701ca60..47a05fd 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -551,7 +551,7 @@ config BFIN_UART3_CTSRTS
 	  Enable hardware flow control in the driver.
 
 config SERIAL_IMX
-	tristate "IMX serial port support"
+	bool "IMX serial port support"
 	depends on ARCH_MXC
 	select SERIAL_CORE
 	select RATIONAL
-- 
1.8.1.2



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

end of thread, other threads:[~2013-10-08  2:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-07 12:44 [PATCH] serial: i.MX: do not allow to build as module Fabio Estevam
2013-10-08  2:06 ` Greg KH

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).