Files
linux/drivers/serial
Albin Tonnerre 8da14b5fc3 drivers/serial/atmel_serial.c: fix compile when CONFIG_SERIAL_ATMEL=Y and CONFIG_SERIAL_ATMEL_CONSOLE=N
When SERIAL_ATMEL_CONSOLE is disabled, ATMEL_CONSOLE_DEVICE is set to
NULL, and trying to access ATMEL_CONSOLE_DEVICE->flags in
atmel_serial_probe makes the compile fail.  This fixes the issue by only
accessing it if CONFIG_SERIAL_ATMEL_CONSOLE is defined

Signed-off-by: Albin Tonnerre <albin.tonnerre@free-electrons.com>
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-07-29 19:10:37 -07:00
..
2008-02-08 09:22:25 -08:00
2008-02-08 09:22:25 -08:00
2009-04-06 14:36:26 -07:00
2008-02-03 14:47:38 +02:00
2008-04-30 08:29:47 -07:00
2008-10-16 16:52:06 +02:00
2009-04-08 14:33:38 -07:00
2009-06-22 11:32:23 -07:00
2008-10-20 08:52:36 -07:00
2009-06-22 11:32:23 -07:00
2009-06-22 11:32:25 -07:00
2009-06-22 11:32:23 -07:00
2007-07-18 08:38:22 -07:00