summaryrefslogtreecommitdiffstats
path: root/drivers/serial
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2006-01-06 09:11:31 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-06 17:33:30 +0100
commit2d8179c0b77b54e27321944e16f65defeda81e27 (patch)
tree6edb5004ae7299cc436d888fbc2b36fb5093c6b5 /drivers/serial
parent[PATCH] ppc32: Remove useless file arch/ppc/platforms/mpc5200.c (diff)
downloadlinux-2d8179c0b77b54e27321944e16f65defeda81e27.tar.xz
linux-2d8179c0b77b54e27321944e16f65defeda81e27.zip
[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>
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/mpc52xx_uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/mpc52xx_uart.c b/drivers/serial/mpc52xx_uart.c
index b8727d9bf690..4dcf0310bef5 100644
--- a/drivers/serial/mpc52xx_uart.c
+++ b/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 = {
.name = "ttyS",