[PATCH v6] tty: serial: add Freescale lpuart driver support

Arnd Bergmann arnd at arndb.de
Tue Jun 4 05:11:57 EDT 2013


On Tuesday 04 June 2013 00:08:27 Fabio Estevam wrote:
> On Tue, Jun 4, 2013 at 12:02 AM, Lu Jingchang-B35083
> <B35083 at freescale.com> wrote:
> 
> > [Lu Jingchang-B35083]
> >   SERIAL_FSL_LPUART_CONSOLE depends on SERIAL_FSL_LPUART=y in the patch as below, when SERIAL_FSL_LPUART is configured as module, it can't be configured as console. Thanks!
> 
> Why to prevent using the console of the driver is built as module?

All serial port drivers do this. IIRC the reason is that the console
has to be started from console_initcall(), which is not available in
modules.

	Arnd



More information about the linux-arm-kernel mailing list