summaryrefslogtreecommitdiffstats
path: root/drivers/serial/clps711x.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2005-09-14 22:36:03 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-09-14 22:36:03 +0100
commit2d93486c6c110cf81db720359b4ec20de9c91450 (patch)
treee87dd8ade5255d624e9e49d941d365f964bef07b /drivers/serial/clps711x.c
parentd8ac10639b6a1ed900efbee38c18baaca31e64dc (diff)
downloadop-kernel-dev-2d93486c6c110cf81db720359b4ec20de9c91450.zip
op-kernel-dev-2d93486c6c110cf81db720359b4ec20de9c91450.tar.gz
[ARM] 2907/1: GCC 4 serial driver compile fixes
Patch from Vincent Sanders When building the ARM platforms several serial drivers fail to compile with GCC 4.01 due to extern/static ambiguity. Signed-off-by: Vincent Sanders <vince@arm.linux.org.uk> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/serial/clps711x.c')
-rw-r--r--drivers/serial/clps711x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/clps711x.c b/drivers/serial/clps711x.c
index d822896..78c1f36 100644
--- a/drivers/serial/clps711x.c
+++ b/drivers/serial/clps711x.c
@@ -525,7 +525,7 @@ static int __init clps711xuart_console_setup(struct console *co, char *options)
return uart_set_options(port, co, baud, parity, bits, flow);
}
-extern struct uart_driver clps711x_reg;
+static struct uart_driver clps711x_reg;
static struct console clps711x_console = {
.name = "ttyCL",
.write = clps711xuart_console_write,
OpenPOWER on IntegriCloud