[PATCH] ppc32/serial: Fix compiler errors with GCC 4.x in mpc52xx_uart.c
authorSylvain Munaut <tnt@246tNt.com>
Fri, 6 Jan 2006 08:11:31 +0000 (00:11 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:33:30 +0000 (08:33 -0800)
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>
drivers/serial/mpc52xx_uart.c

index b8727d9bf690d7322007301c70646d8ebd136860..4dcf0310bef504b24388ce0d46f0bceb2a16e2ab 100644 (file)
@@ -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 = {
        .name   = "ttyS",