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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jingchang,

On Thu, Jun 6, 2013 at 5:05 PM, Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> On Tue, Jun 04, 2013 at 09:27:50AM +0800, Jingchang Lu wrote:
>> Add Freescale lpuart driver support. The lpuart device
>> can be found on Vybrid VF610 and Layerscape LS-1 SoCs.
>>
>> Signed-off-by: Jingchang Lu <b35083@xxxxxxxxxxxxx>
>
> This breaks the build on x86 systems with:
>   CC [M]  drivers/tty/serial/fsl_lpuart.o
> drivers/tty/serial/fsl_lpuart.c: In function ‘lpuart_probe’:
> drivers/tty/serial/fsl_lpuart.c:751:2: error: implicit declaration of function ‘of_alias_get_id’ [-Werror=implicit-function-declaration]
>
> so I can't take this :(

On imx serial driver this build error is avoided by protecting the
serial_imx_probe_dt() with "#ifdef CONFIG_OF" and you could so the
same on the fsl_lpaurt driver to avoid the build issue that Greg
reported.

Regards,

Fabio Estevam
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux