diff options
Diffstat (limited to 'arch/arm/mach-mv78xx0/common.c')
-rw-r--r-- | arch/arm/mach-mv78xx0/common.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-mv78xx0/common.c b/arch/arm/mach-mv78xx0/common.c index 953a26c469cb..d56a05e8356b 100644 --- a/arch/arm/mach-mv78xx0/common.c +++ b/arch/arm/mach-mv78xx0/common.c | |||
@@ -285,6 +285,11 @@ static struct resource mv78xx0_ge00_shared_resources[] = { | |||
285 | .start = GE00_PHYS_BASE + 0x2000, | 285 | .start = GE00_PHYS_BASE + 0x2000, |
286 | .end = GE00_PHYS_BASE + 0x3fff, | 286 | .end = GE00_PHYS_BASE + 0x3fff, |
287 | .flags = IORESOURCE_MEM, | 287 | .flags = IORESOURCE_MEM, |
288 | }, { | ||
289 | .name = "ge err irq", | ||
290 | .start = IRQ_MV78XX0_GE_ERR, | ||
291 | .end = IRQ_MV78XX0_GE_ERR, | ||
292 | .flags = IORESOURCE_IRQ, | ||
288 | }, | 293 | }, |
289 | }; | 294 | }; |
290 | 295 | ||
@@ -294,7 +299,7 @@ static struct platform_device mv78xx0_ge00_shared = { | |||
294 | .dev = { | 299 | .dev = { |
295 | .platform_data = &mv78xx0_ge00_shared_data, | 300 | .platform_data = &mv78xx0_ge00_shared_data, |
296 | }, | 301 | }, |
297 | .num_resources = 1, | 302 | .num_resources = ARRAY_SIZE(mv78xx0_ge00_shared_resources), |
298 | .resource = mv78xx0_ge00_shared_resources, | 303 | .resource = mv78xx0_ge00_shared_resources, |
299 | }; | 304 | }; |
300 | 305 | ||