mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-04 05:11:46 +00:00
[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>
This commit is contained in:
parent
f0e837d918
commit
9f4426dde2
1 changed files with 1 additions and 1 deletions
|
@ -860,7 +860,7 @@ imx_console_setup(struct console *co, char *options)
|
||||||
return uart_set_options(&sport->port, co, baud, parity, bits, flow);
|
return uart_set_options(&sport->port, co, baud, parity, bits, flow);
|
||||||
}
|
}
|
||||||
|
|
||||||
extern struct uart_driver imx_reg;
|
static struct uart_driver imx_reg;
|
||||||
static struct console imx_console = {
|
static struct console imx_console = {
|
||||||
.name = "ttySMX",
|
.name = "ttySMX",
|
||||||
.write = imx_console_write,
|
.write = imx_console_write,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue