Skip to content

Commit

Permalink
sh-sci: remove early_sci_setup()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Magnus Damm authored and Paul Mundt committed May 8, 2009
1 parent e552de2 commit 9080b72
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
14 changes: 0 additions & 14 deletions drivers/serial/sh-sci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions include/linux/serial_sci.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,4 @@ struct plat_sci_port {
upf_t flags; /* UPF_* flags */
};

int early_sci_setup(struct uart_port *port);

#endif /* __LINUX_SERIAL_SCI_H */

0 comments on commit 9080b72

Please sign in to comment.