Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 296264
b: refs/heads/master
c: 2b7da08
h: refs/heads/master
v: v3
  • Loading branch information
Russell King committed Mar 24, 2012
1 parent f5ba9a2 commit e0ca8ba
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 30 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: 530c2eaa6ab69fca94911f2aa74fe3e11b1cd19b
refs/heads/master: 2b7da084d484fe0dd831464993e2abb496402eb8
36 changes: 7 additions & 29 deletions trunk/arch/arm/mach-rpc/riscpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,9 @@ static void __init rpc_map_io(void)
}

static struct resource acornfb_resources[] = {
{ /* VIDC */
.start = 0x03400000,
.end = 0x035fffff,
.flags = IORESOURCE_MEM,
}, {
.start = IRQ_VSYNCPULSE,
.end = IRQ_VSYNCPULSE,
.flags = IORESOURCE_IRQ,
},
/* VIDC */
DEFINE_RES_MEM(0x03400000, 0x00200000),
DEFINE_RES_IRQ(IRQ_VSYNCPULSE),
};

static struct platform_device acornfb_device = {
Expand All @@ -120,11 +114,7 @@ static struct platform_device acornfb_device = {
};

static struct resource iomd_resources[] = {
{
.start = 0x03200000,
.end = 0x0320ffff,
.flags = IORESOURCE_MEM,
},
DEFINE_RES_MEM(0x03200000, 0x10000),
};

static struct platform_device iomd_device = {
Expand Down Expand Up @@ -174,21 +164,9 @@ static struct pata_platform_info pata_platform_data = {
};

static struct resource pata_resources[] = {
[0] = {
.start = 0x030107c0,
.end = 0x030107df,
.flags = IORESOURCE_MEM,
},
[1] = {
.start = 0x03010fd8,
.end = 0x03010fdb,
.flags = IORESOURCE_MEM,
},
[2] = {
.start = IRQ_HARDDISK,
.end = IRQ_HARDDISK,
.flags = IORESOURCE_IRQ,
},
DEFINE_RES_MEM(0x030107c0, 0x20),
DEFINE_RES_MEM(0x03010fd8, 0x04),
DEFINE_RES_IRQ(IRQ_HARDDISK),
};

static struct platform_device pata_device = {
Expand Down

0 comments on commit e0ca8ba

Please sign in to comment.