summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-02-16 00:24:07 +0800
committerNicolas Ferre <nicolas.ferre@atmel.com>2012-02-23 14:57:59 +0100
commit69f6a27bf4c86e986964100e560d991a8de03833 (patch)
tree6957eefc1acb13a3a793058eaf886fe47403fafd /drivers
parentc9b1e3ffbc322a1d1e1272062a9361abe536a33a (diff)
downloadblackbird-op-linux-69f6a27bf4c86e986964100e560d991a8de03833.tar.gz
blackbird-op-linux-69f6a27bf4c86e986964100e560d991a8de03833.zip
Atmel: move console default platform_device to serial driver
This variable spread on every SoC that is using the atmel_serial.c driver can be included directly into the latter. This will allow to compile multiple soc in the same kernel. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no> Cc: kernel@avr32linux.org
Diffstat (limited to 'drivers')
-rw-r--r--drivers/tty/serial/atmel_serial.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c
index 10605ecc99ab..f9a6be7a9bed 100644
--- a/drivers/tty/serial/atmel_serial.c
+++ b/drivers/tty/serial/atmel_serial.c
@@ -1526,6 +1526,8 @@ void __init atmel_register_uart_fns(struct atmel_port_fns *fns)
atmel_pops.set_wake = fns->set_wake;
}
+struct platform_device *atmel_default_console_device; /* the serial console device */
+
#ifdef CONFIG_SERIAL_ATMEL_CONSOLE
static void atmel_console_putchar(struct uart_port *port, int ch)
{
OpenPOWER on IntegriCloud