Browse Source

[PATCH] ppc32/serial: Fix compiler errors with GCC 4.x in mpc52xx_uart.c

Signed-off-by: Wolfgang Denk <wd@denx.de>
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Sylvain Munaut 19 years ago
parent
commit
2d8179c0b7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/serial/mpc52xx_uart.c

+ 1 - 1
drivers/serial/mpc52xx_uart.c

@@ -668,7 +668,7 @@ mpc52xx_console_setup(struct console *co, char *options)
 }
 }
 
 
 
 
-extern struct uart_driver mpc52xx_uart_driver;
+static struct uart_driver mpc52xx_uart_driver;
 
 
 static struct console mpc52xx_console = {
 static struct console mpc52xx_console = {
 	.name	= "ttyS",
 	.name	= "ttyS",