]> git.karo-electronics.de Git - linux-beck.git/commitdiff
tty/serial/omap: console can only be built-in
authorArnd Bergmann <arnd@arndb.de>
Mon, 2 Apr 2012 22:32:17 +0000 (16:32 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Apr 2012 17:34:16 +0000 (10:34 -0700)
When the omap serial driver is built as a module, we must
not allow the console driver to be selected, because consoles
can not be loadable modules.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Acked-by: Govindraj.R <govindraj.raja@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/Kconfig

index 665beb68f67087a8dab9f73a8344b317964609c1..070b442c1f81abb08ffee6cd69e3ffe0ab87b209 100644 (file)
@@ -1041,7 +1041,7 @@ config SERIAL_OMAP
 
 config SERIAL_OMAP_CONSOLE
        bool "Console on OMAP serial port"
-       depends on SERIAL_OMAP
+       depends on SERIAL_OMAP=y
        select SERIAL_CORE_CONSOLE
        help
          Select this option if you would like to use omap serial port as