diff options
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c index b01da1ed822d..61d220c5d488 100644 --- a/arch/arm/mach-omap2/omap_hwmod.c +++ b/arch/arm/mach-omap2/omap_hwmod.c | |||
@@ -1386,8 +1386,9 @@ int omap_hwmod_fill_resources(struct omap_hwmod *oh, struct resource *res) | |||
1386 | /* For each IRQ, DMA, memory area, fill in array.*/ | 1386 | /* For each IRQ, DMA, memory area, fill in array.*/ |
1387 | 1387 | ||
1388 | for (i = 0; i < oh->mpu_irqs_cnt; i++) { | 1388 | for (i = 0; i < oh->mpu_irqs_cnt; i++) { |
1389 | (res + r)->start = *(oh->mpu_irqs + i); | 1389 | (res + r)->name = (oh->mpu_irqs + i)->name; |
1390 | (res + r)->end = *(oh->mpu_irqs + i); | 1390 | (res + r)->start = (oh->mpu_irqs + i)->irq; |
1391 | (res + r)->end = (oh->mpu_irqs + i)->irq; | ||
1391 | (res + r)->flags = IORESOURCE_IRQ; | 1392 | (res + r)->flags = IORESOURCE_IRQ; |
1392 | r++; | 1393 | r++; |
1393 | } | 1394 | } |