diff options
author | Vincent Sanders <vince@kyllikki.org> | 2005-10-01 17:56:34 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-10-01 17:56:34 -0400 |
commit | 9f4426dde2be352aabc326539eccc726cea2d98c (patch) | |
tree | a36e6d4f5b808e74c3701572168a85e7b6403a45 | |
parent | f0e837d9182d7903bde3ebafbd1d0d68c6d32d43 (diff) |
[ARM] 2944/1: GCC 4 mx1ads serial driver compile fix
Patch from Vincent Sanders
When building the mx1ads ARM platforms the serial driver fails 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>
-rw-r--r-- | drivers/serial/imx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/imx.c b/drivers/serial/imx.c index 4c985e6b3784..4e1e80adaf11 100644 --- a/drivers/serial/imx.c +++ b/drivers/serial/imx.c | |||
@@ -860,7 +860,7 @@ imx_console_setup(struct console *co, char *options) | |||
860 | return uart_set_options(&sport->port, co, baud, parity, bits, flow); | 860 | return uart_set_options(&sport->port, co, baud, parity, bits, flow); |
861 | } | 861 | } |
862 | 862 | ||
863 | extern struct uart_driver imx_reg; | 863 | static struct uart_driver imx_reg; |
864 | static struct console imx_console = { | 864 | static struct console imx_console = { |
865 | .name = "ttySMX", | 865 | .name = "ttySMX", |
866 | .write = imx_console_write, | 866 | .write = imx_console_write, |