Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 180246
b: refs/heads/master
c: 74005a2
h: refs/heads/master
v: v3
  • Loading branch information
Kevin Hilman authored and Tony Lindgren committed Feb 3, 2010
1 parent 94a9cf5 commit b31ed57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 9af915da20bd405c232ebb93c3cb80c6d92a12f6
refs/heads/master: 74005a2b116203f618fe784d88ad7e6071bb1554
4 changes: 3 additions & 1 deletion trunk/arch/arm/mach-omap2/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -194,14 +194,16 @@ void __init omap_init_irq(void)
int i;

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

if (cpu_is_omap24xx())
base = OMAP24XX_IC_BASE;
else if (cpu_is_omap34xx())
base = OMAP34XX_IC_BASE;

BUG_ON(!base);

/* Static mapping, never released */
bank->base_reg = ioremap(base, SZ_4K);
if (!bank->base_reg) {
Expand Down

0 comments on commit b31ed57

Please sign in to comment.