]> git.karo-electronics.de Git - linux-beck.git/commitdiff
sh: zero terminate 8250 platform data for r2d board
authorMagnus Damm <damm@igel.co.jp>
Fri, 20 Jul 2007 07:34:22 +0000 (16:34 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 20 Jul 2007 07:34:22 +0000 (16:34 +0900)
struct plat_serial8250_port should contain a terminating zero entry

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/renesas/rts7751r2d/setup.c

index 656fda30ef704b36951a9123602ad9dfa54ec10a..e165d85c03b5543050d721bd98ef2b5c7b4f9166 100644 (file)
@@ -86,7 +86,8 @@ static struct plat_serial8250_port uart_platform_data[] = {
                .flags          = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST,
                .regshift       = 2,
                .uartclk        = (9600 * 16),
-       }
+       },
+       { 0 },
 };
 
 static struct platform_device uart_device = {