Re: [PATCH 10/12] SERIAL: SC26xx: Fix link error.

From: Alan Cox
Date: Tue Jun 28 2011 - 04:33:17 EST


On Mon, 27 Jun 2011 14:26:56 +0100
Ralf Baechle <ralf@xxxxxxxxxxxxxx> wrote:

> Kconfig allows enabling console support for the SC26xx driver even
> when it's configured as a module resulting in a:
>
> ERROR: "uart_console_device" [drivers/tty/serial/sc26xx.ko] undefined!
>
> modpost error since the driver was merged in
> eea63e0e8a60d00485b47fb6e75d9aa2566b989b [SC26XX: New serial driver
> for SC2681 uarts] in 2.6.25. Fixed by only allowing console support
> to be enabled if the driver is builtin.
>
> Signed-off-by: Ralf Baechle <ralf@xxxxxxxxxxxxxx>

Acked-by: Alan Cox <alan@xxxxxxxxxxxxxxx>
--
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/