Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9f4426dd authored by Vincent Sanders's avatar Vincent Sanders Committed by Russell King
Browse files

[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: default avatarVincent Sanders <vince@arm.linux.org.uk>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent f0e837d9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -860,7 +860,7 @@ imx_console_setup(struct console *co, char *options)
	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 = {
	.name		= "ttySMX",
	.write		= imx_console_write,