Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172707
b: refs/heads/master
c: 1b26fe8
h: refs/heads/master
i:
  172705: d266de6
  172703: 947d5c4
v: v3
  • Loading branch information
Tony Lindgren committed Oct 19, 2009
1 parent 3194465 commit ff241c1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 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: 84f90c9cc81d8db172d4f768fc4010f508897366
refs/heads/master: 1b26fe868a7eb39df924f1173fb43a5c8d640822
12 changes: 10 additions & 2 deletions trunk/arch/arm/mach-omap2/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,20 @@ void __init omap_init_irq(void)
int i;

for (i = 0; i < ARRAY_SIZE(irq_banks); i++) {
unsigned long base;
struct omap_irq_bank *bank = irq_banks + i;

if (cpu_is_omap24xx())
bank->base_reg = OMAP2_IO_ADDRESS(OMAP24XX_IC_BASE);
base = OMAP24XX_IC_BASE;
else if (cpu_is_omap34xx())
bank->base_reg = OMAP2_IO_ADDRESS(OMAP34XX_IC_BASE);
base = OMAP34XX_IC_BASE;

/* Static mapping, never released */
bank->base_reg = ioremap(base, SZ_4K);
if (!bank->base_reg) {
printk(KERN_ERR "Could not ioremap irq bank%i\n", i);
continue;
}

omap_irq_bank_init_one(bank);

Expand Down

0 comments on commit ff241c1

Please sign in to comment.