On 10/28/2011 01:33 PM, Sven Schnelle :
> If CONFIG_OF is disabled, compilation fails with:
>
> drivers/tty/serial/atmel_serial.c: In function 'atmel_serial_probe':
> drivers/tty/serial/atmel_serial.c:1788: error: implicit declaration of
> function 'of_alias_get_id'
>
> Fix this by adding the pr
On Fri, Oct 28, 2011 at 02:38:09PM +0200, Nicolas Ferre wrote:
> On 10/28/2011 01:33 PM, Sven Schnelle :
> > If CONFIG_OF is disabled, compilation fails with:
> >
> > drivers/tty/serial/atmel_serial.c: In function 'atmel_serial_probe':
> > drivers/tty/serial/atmel_serial.c:1788: error: implicit de
On 10/27/2011 04:07 AM, Nicolas Ferre wrote:
> Add function of_alias_get_id() reporting -ENOSYS
> for non-dt builds, so that drivers migrating to dt
> can save some '#ifdef CONFIG_OF'.
>
> Signed-off-by: Nicolas Ferre
Acked-by: Rob Herring
> ---
> Hi Grant,
>
> Another empty function for non-