summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2007-07-20 07:34:22 (GMT)
committerPaul Mundt <lethal@linux-sh.org>2007-07-20 07:34:22 (GMT)
commit3a353824df7595165a162aee3b53e4d96e7dfa95 (patch)
treea533296a2307269810e44b1bca6e75c70ba84d82 /arch
parent6894e0a94350e8ba5c5c8342e916fde14df5fb43 (diff)
downloadlinux-3a353824df7595165a162aee3b53e4d96e7dfa95.tar.xz
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')
-rw-r--r--arch/sh/boards/renesas/rts7751r2d/setup.c3
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 656fda3..e165d85 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[] = {
.flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST,
.regshift = 2,
.uartclk = (9600 * 16),
- }
+ },
+ { 0 },
};
static struct platform_device uart_device = {