>-----Original Message----- >From: Fabio Estevam [mailto:festevam@xxxxxxxxx] >Sent: Tuesday, June 04, 2013 11:09 AM >To: Lu Jingchang-B35083 >Cc: linux-serial@xxxxxxxxxxxxxxx; gregkh@xxxxxxxxxxxxxxxxxxx; >s.hauer@xxxxxxxxxxxxxx; shawn.guo@xxxxxxxxxx; linux-arm- >kernel@xxxxxxxxxxxxxxxxxxx >Subject: Re: [PATCH v6] tty: serial: add Freescale lpuart driver support > >On Tue, Jun 4, 2013 at 12:08 AM, Fabio Estevam <festevam@xxxxxxxxx> wrote: >> On Tue, Jun 4, 2013 at 12:02 AM, Lu Jingchang-B35083 >> <B35083@xxxxxxxxxxxxx> 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? > >I meant "if the driver is built as module" [Lu Jingchang-B35083] In serial driver imx.c, when CONFIG_SERIAL_IMX_CONSOLE=m, does the code between #ifdef CONFIG_SERIAL_IMX_CONSOLE ... #else be compiled? Thanks! ��.n��������+%������w��{.n�����{��ǫ����{ay�ʇڙ���f���h������_�(�階�ݢj"��������G����?���&��