aboutsummaryrefslogtreecommitdiff
path: root/drivers/serial
diff options
context:
space:
mode:
authorMagnus Damm2009-01-21 15:13:58 +0000
committerPaul Mundt2009-05-08 22:53:58 +0900
commit9080b72819650c3a757d173a19bc930d603b79d6 (patch)
treea61b60f42fc6455da80f69742ef9883767e47e95 /drivers/serial
parente552de2413edad1a7b0c7f82a2f2753e4f905d93 (diff)
sh-sci: remove early_sci_setup()
Remove unused early_sci_setup() function from sh-sci. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/sh-sci.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/serial/sh-sci.c b/drivers/serial/sh-sci.c
index af5da110d52b..5f37f7d31663 100644
--- a/drivers/serial/sh-sci.c
+++ b/drivers/serial/sh-sci.c
@@ -1082,20 +1082,6 @@ static void __init sci_init_ports(void)
}
}
-int __init early_sci_setup(struct uart_port *port)
-{
- if (unlikely(port->line > SCI_NPORTS))
- return -ENODEV;
-
- sci_init_ports();
-
- sci_ports[port->line].port.membase = port->membase;
- sci_ports[port->line].port.mapbase = port->mapbase;
- sci_ports[port->line].port.type = port->type;
-
- return 0;
-}
-
#ifdef CONFIG_SERIAL_SH_SCI_CONSOLE
/*
* Print a string to the serial port trying not to disturb