summaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2007-07-20 16:34:22 +0900
committerPaul Mundt <lethal@linux-sh.org>2007-07-20 16:34:22 +0900
commit3a353824df7595165a162aee3b53e4d96e7dfa95 (patch)
treea533296a2307269810e44b1bca6e75c70ba84d82 /arch/sh
parent6894e0a94350e8ba5c5c8342e916fde14df5fb43 (diff)
downloadop-kernel-dev-3a353824df7595165a162aee3b53e4d96e7dfa95.zip
op-kernel-dev-3a353824df7595165a162aee3b53e4d96e7dfa95.tar.gz
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')
-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 = {
OpenPOWER on IntegriCloud