[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>
This commit is contained in:
committed by
Russell King
parent
d8ac10639b
commit
2d93486c6c
@@ -689,7 +689,7 @@ static int __init pl010_console_setup(struct console *co, char *options)
|
||||
return uart_set_options(port, co, baud, parity, bits, flow);
|
||||
}
|
||||
|
||||
extern struct uart_driver amba_reg;
|
||||
static struct uart_driver amba_reg;
|
||||
static struct console amba_console = {
|
||||
.name = "ttyAM",
|
||||
.write = pl010_console_write,
|
||||
|
Reference in New Issue
Block a user