aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/atmel_serial.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c
index 3d7e1ee2fa57..a6134c94a9fc 100644
--- a/drivers/tty/serial/atmel_serial.c
+++ b/drivers/tty/serial/atmel_serial.c
@@ -43,7 +43,6 @@
43#include <asm/io.h> 43#include <asm/io.h>
44#include <asm/ioctls.h> 44#include <asm/ioctls.h>
45 45
46#include <asm/mach/serial_at91.h>
47#include <mach/board.h> 46#include <mach/board.h>
48 47
49#ifdef CONFIG_ARM 48#ifdef CONFIG_ARM
@@ -1513,23 +1512,6 @@ static void __devinit atmel_init_port(struct atmel_uart_port *atmel_port,
1513 } 1512 }
1514} 1513}
1515 1514
1516/*
1517 * Register board-specific modem-control line handlers.
1518 */
1519void __init atmel_register_uart_fns(struct atmel_port_fns *fns)
1520{
1521 if (fns->enable_ms)
1522 atmel_pops.enable_ms = fns->enable_ms;
1523 if (fns->get_mctrl)
1524 atmel_pops.get_mctrl = fns->get_mctrl;
1525 if (fns->set_mctrl)
1526 atmel_pops.set_mctrl = fns->set_mctrl;
1527 atmel_open_hook = fns->open;
1528 atmel_close_hook = fns->close;
1529 atmel_pops.pm = fns->pm;
1530 atmel_pops.set_wake = fns->set_wake;
1531}
1532
1533struct platform_device *atmel_default_console_device; /* the serial console device */ 1515struct platform_device *atmel_default_console_device; /* the serial console device */
1534 1516
1535#ifdef CONFIG_SERIAL_ATMEL_CONSOLE 1517#ifdef CONFIG_SERIAL_ATMEL_CONSOLE