diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-02-15 11:24:07 -0500 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2012-02-23 08:57:59 -0500 |
commit | 69f6a27bf4c86e986964100e560d991a8de03833 (patch) | |
tree | 6957eefc1acb13a3a793058eaf886fe47403fafd /drivers/tty/serial/atmel_serial.c | |
parent | c9b1e3ffbc322a1d1e1272062a9361abe536a33a (diff) |
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/tty/serial/atmel_serial.c')
-rw-r--r-- | drivers/tty/serial/atmel_serial.c | 2 |
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) | |||
1526 | atmel_pops.set_wake = fns->set_wake; | 1526 | atmel_pops.set_wake = fns->set_wake; |
1527 | } | 1527 | } |
1528 | 1528 | ||
1529 | struct platform_device *atmel_default_console_device; /* the serial console device */ | ||
1530 | |||
1529 | #ifdef CONFIG_SERIAL_ATMEL_CONSOLE | 1531 | #ifdef CONFIG_SERIAL_ATMEL_CONSOLE |
1530 | static void atmel_console_putchar(struct uart_port *port, int ch) | 1532 | static void atmel_console_putchar(struct uart_port *port, int ch) |
1531 | { | 1533 | { |