From: Magnus Damm <magnus.damm@gmail.com>
To: linux-sh@vger.kernel.org
Subject: [PATCH 003/013] sh-sci: remove early_sci_setup()
Date: Wed, 21 Jan 2009 15:13:58 +0000 [thread overview]
Message-ID: <20090121151358.29269.16993.sendpatchset@rx1.opensource.se> (raw)
From: Magnus Damm <damm@igel.co.jp>
Remove unused early_sci_setup() function from sh-sci.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
---
drivers/serial/sh-sci.c | 14 --------------
include/linux/serial_sci.h | 2 --
2 files changed, 16 deletions(-)
--- 0003/drivers/serial/sh-sci.c
+++ work/drivers/serial/sh-sci.c 2009-01-20 16:36:38.000000000 +0900
@@ -1086,20 +1086,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
--- 0001/include/linux/serial_sci.h
+++ work/include/linux/serial_sci.h 2009-01-20 16:36:57.000000000 +0900
@@ -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 */
reply other threads:[~2009-01-21 15:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090121151358.29269.16993.sendpatchset@rx1.opensource.se \
--to=magnus.damm@gmail.com \
--cc=linux-sh@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox