Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177034
b: refs/heads/master
c: d8d3fbb
h: refs/heads/master
v: v3
  • Loading branch information
Magnus Damm authored and Paul Mundt committed Dec 15, 2009
1 parent 786a40a commit a345356
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a9571d7b045eb3b38d856c6dfda1798fb67ca44c
refs/heads/master: d8d3fbb0248dd0bc9b961f9ccfad8aa8e6b3ccfe
22 changes: 9 additions & 13 deletions trunk/arch/sh/kernel/cpu/sh5/setup-sh5.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,18 @@
#include <linux/sh_timer.h>
#include <asm/addrspace.h>

static struct plat_sci_port sci_platform_data[] = {
{
.mapbase = PHYS_PERIPHERAL_BLOCK + 0x01030000,
.flags = UPF_BOOT_AUTOCONF | UPF_IOREMAP,
.type = PORT_SCIF,
.irqs = { 39, 40, 42, 0 },
}, {
.flags = 0,
}
static struct plat_sci_port scif0_platform_data = {
.mapbase = PHYS_PERIPHERAL_BLOCK + 0x01030000,
.flags = UPF_BOOT_AUTOCONF | UPF_IOREMAP,
.type = PORT_SCIF,
.irqs = { 39, 40, 42, 0 },
};

static struct platform_device sci_device = {
static struct platform_device scif0_device = {
.name = "sh-sci",
.id = -1,
.id = 0,
.dev = {
.platform_data = sci_platform_data,
.platform_data = &scif0_platform_data,
},
};

Expand Down Expand Up @@ -164,13 +160,13 @@ static struct platform_device tmu2_device = {
};

static struct platform_device *sh5_early_devices[] __initdata = {
&scif0_device,
&tmu0_device,
&tmu1_device,
&tmu2_device,
};

static struct platform_device *sh5_devices[] __initdata = {
&sci_device,
&rtc_device,
};

Expand Down

0 comments on commit a345356

Please sign in to comment.