diff options
-rw-r--r-- | drivers/serial/sh-sci.c | 14 | ||||
-rw-r--r-- | include/linux/serial_sci.h | 2 |
2 files changed, 0 insertions, 16 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) | |||
1082 | } | 1082 | } |
1083 | } | 1083 | } |
1084 | 1084 | ||
1085 | int __init early_sci_setup(struct uart_port *port) | ||
1086 | { | ||
1087 | if (unlikely(port->line > SCI_NPORTS)) | ||
1088 | return -ENODEV; | ||
1089 | |||
1090 | sci_init_ports(); | ||
1091 | |||
1092 | sci_ports[port->line].port.membase = port->membase; | ||
1093 | sci_ports[port->line].port.mapbase = port->mapbase; | ||
1094 | sci_ports[port->line].port.type = port->type; | ||
1095 | |||
1096 | return 0; | ||
1097 | } | ||
1098 | |||
1099 | #ifdef CONFIG_SERIAL_SH_SCI_CONSOLE | 1085 | #ifdef CONFIG_SERIAL_SH_SCI_CONSOLE |
1100 | /* | 1086 | /* |
1101 | * Print a string to the serial port trying not to disturb | 1087 | * Print a string to the serial port trying not to disturb |
diff --git a/include/linux/serial_sci.h b/include/linux/serial_sci.h index 893cc53486bc..717059d6791f 100644 --- a/include/linux/serial_sci.h +++ b/include/linux/serial_sci.h | |||
@@ -27,6 +27,4 @@ struct plat_sci_port { | |||
27 | upf_t flags; /* UPF_* flags */ | 27 | upf_t flags; /* UPF_* flags */ |
28 | }; | 28 | }; |
29 | 29 | ||
30 | int early_sci_setup(struct uart_port *port); | ||
31 | |||
32 | #endif /* __LINUX_SERIAL_SCI_H */ | 30 | #endif /* __LINUX_SERIAL_SCI_H */ |