diff options
author | Magnus Damm <damm@igel.co.jp> | 2007-07-20 03:34:22 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-07-20 03:34:22 -0400 |
commit | 3a353824df7595165a162aee3b53e4d96e7dfa95 (patch) | |
tree | a533296a2307269810e44b1bca6e75c70ba84d82 /arch/sh/boards/renesas | |
parent | 6894e0a94350e8ba5c5c8342e916fde14df5fb43 (diff) |
sh: zero terminate 8250 platform data for r2d board
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>
Diffstat (limited to 'arch/sh/boards/renesas')
-rw-r--r-- | arch/sh/boards/renesas/rts7751r2d/setup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh/boards/renesas/rts7751r2d/setup.c b/arch/sh/boards/renesas/rts7751r2d/setup.c index 656fda30ef70..e165d85c03b5 100644 --- a/arch/sh/boards/renesas/rts7751r2d/setup.c +++ b/arch/sh/boards/renesas/rts7751r2d/setup.c | |||
@@ -86,7 +86,8 @@ static struct plat_serial8250_port uart_platform_data[] = { | |||
86 | .flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST, | 86 | .flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST, |
87 | .regshift = 2, | 87 | .regshift = 2, |
88 | .uartclk = (9600 * 16), | 88 | .uartclk = (9600 * 16), |
89 | } | 89 | }, |
90 | { 0 }, | ||
90 | }; | 91 | }; |
91 | 92 | ||
92 | static struct platform_device uart_device = { | 93 | static struct platform_device uart_device = { |