Re: [PATCH] tty/serial: atmel_serial: fix compilation

2011-10-28 Thread Nicolas Ferre
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

Re: [PATCH] tty/serial: atmel_serial: fix compilation

2011-10-28 Thread Greg KH
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

Re: [PATCH] dt: add empty of_alias_get_id() for non-dt builds

2011-10-28 Thread Rob Herring
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-