aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/serial')
-rw-r--r--drivers/tty/serial/atmel_serial.c18
-rw-r--r--drivers/tty/serial/sa1100.c2
2 files changed, 1 insertions, 19 deletions
diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c
index b95886c1198d..1a8a2713dd95 100644
--- a/drivers/tty/serial/atmel_serial.c
+++ b/drivers/tty/serial/atmel_serial.c
@@ -44,7 +44,6 @@
44#include <asm/io.h> 44#include <asm/io.h>
45#include <asm/ioctls.h> 45#include <asm/ioctls.h>
46 46
47#include <asm/mach/serial_at91.h>
48#include <mach/board.h> 47#include <mach/board.h>
49 48
50#ifdef CONFIG_ARM 49#ifdef CONFIG_ARM
@@ -1514,23 +1513,6 @@ static void atmel_init_port(struct atmel_uart_port *atmel_port,
1514 } 1513 }
1515} 1514}
1516 1515
1517/*
1518 * Register board-specific modem-control line handlers.
1519 */
1520void __init atmel_register_uart_fns(struct atmel_port_fns *fns)
1521{
1522 if (fns->enable_ms)
1523 atmel_pops.enable_ms = fns->enable_ms;
1524 if (fns->get_mctrl)
1525 atmel_pops.get_mctrl = fns->get_mctrl;
1526 if (fns->set_mctrl)
1527 atmel_pops.set_mctrl = fns->set_mctrl;
1528 atmel_open_hook = fns->open;
1529 atmel_close_hook = fns->close;
1530 atmel_pops.pm = fns->pm;
1531 atmel_pops.set_wake = fns->set_wake;
1532}
1533
1534struct platform_device *atmel_default_console_device; /* the serial console device */ 1516struct platform_device *atmel_default_console_device; /* the serial console device */
1535 1517
1536#ifdef CONFIG_SERIAL_ATMEL_CONSOLE 1518#ifdef CONFIG_SERIAL_ATMEL_CONSOLE
diff --git a/drivers/tty/serial/sa1100.c b/drivers/tty/serial/sa1100.c
index da56c8a0fdc9..5d4b9b449b4a 100644
--- a/drivers/tty/serial/sa1100.c
+++ b/drivers/tty/serial/sa1100.c
@@ -29,6 +29,7 @@
29#include <linux/init.h> 29#include <linux/init.h>
30#include <linux/console.h> 30#include <linux/console.h>
31#include <linux/sysrq.h> 31#include <linux/sysrq.h>
32#include <linux/platform_data/sa11x0-serial.h>
32#include <linux/platform_device.h> 33#include <linux/platform_device.h>
33#include <linux/tty.h> 34#include <linux/tty.h>
34#include <linux/tty_flip.h> 35#include <linux/tty_flip.h>
@@ -39,7 +40,6 @@
39#include <asm/irq.h> 40#include <asm/irq.h>
40#include <mach/hardware.h> 41#include <mach/hardware.h>
41#include <mach/irqs.h> 42#include <mach/irqs.h>
42#include <asm/mach/serial_sa1100.h>
43 43
44/* We've been assigned a range on the "Low-density serial ports" major */ 44/* We've been assigned a range on the "Low-density serial ports" major */
45#define SERIAL_SA1100_MAJOR 204 45#define SERIAL_SA1100_MAJOR 204