summaryrefslogtreecommitdiff
path: root/arch/arm/mach-nomadik/include/mach/irqs.h
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2012-10-18 13:08:05 +0400
committerLinus Walleij <linus.walleij@linaro.org>2012-11-05 12:55:34 +0400
commitc3b9d1db23c4ebd4d8a0964ebcf5f27d4eb8fa3f (patch)
treeff62a867cecc49fd3e47a87e105c5af83956fc36 /arch/arm/mach-nomadik/include/mach/irqs.h
parenta7238e432539d25726883ed3ee48cd46b5a8fa56 (diff)
downloadlinux-c3b9d1db23c4ebd4d8a0964ebcf5f27d4eb8fa3f.tar.xz
ARM: plat-nomadik: convert platforms to SPARSE_IRQ
This converts the Nomadik and Ux500 platforms to use SPARSE_IRQ. Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-nomadik/include/mach/irqs.h')
-rw-r--r--arch/arm/mach-nomadik/include/mach/irqs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-nomadik/include/mach/irqs.h b/arch/arm/mach-nomadik/include/mach/irqs.h
index a118e615f865..b549d0571548 100644
--- a/arch/arm/mach-nomadik/include/mach/irqs.h
+++ b/arch/arm/mach-nomadik/include/mach/irqs.h
@@ -72,7 +72,7 @@
#define NOMADIK_NR_GPIO 128 /* last 4 not wired to pins */
#define NOMADIK_GPIO_TO_IRQ(gpio) ((gpio) + NOMADIK_GPIO_OFFSET)
#define NOMADIK_IRQ_TO_GPIO(irq) ((irq) - NOMADIK_GPIO_OFFSET)
-#define NR_IRQS NOMADIK_GPIO_TO_IRQ(NOMADIK_NR_GPIO)
+#define NOMADIK_NR_IRQS NOMADIK_GPIO_TO_IRQ(NOMADIK_NR_GPIO)
/* Following two are used by entry_macro.S, to access our dual-vic */
#define VIC_REG_IRQSR0 0