Re: [PATCH 19/30] tty/serial/omap: console can only be built-in

From: Govindraj
Date: Mon Oct 03 2011 - 00:53:51 EST


On Sun, Oct 2, 2011 at 8:15 PM, Arnd Bergmann <arnd@xxxxxxxx> wrote:
> 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.

Agree.

>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
> Cc: Govindraj.R <govindraj.raja@xxxxxx>

Acked-by: Govindraj.R <govindraj.raja@xxxxxx>

> ---
>  drivers/tty/serial/Kconfig |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
> index 4dcb37bb..eb04b2f 100644
> --- a/drivers/tty/serial/Kconfig
> +++ b/drivers/tty/serial/Kconfig
> @@ -1346,7 +1346,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
> --
> 1.7.5.4
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/