summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/include/mach/balloon3.h
diff options
context:
space:
mode:
authorHaojian Zhuang <haojian.zhuang@marvell.com>2010-08-20 15:23:59 +0800
committerEric Miao <eric.y.miao@gmail.com>2010-10-08 16:21:17 +0800
commit6ac6b817f3f4c23c5febd960d8deb343e13af5f3 (patch)
tree9d5642b9699e3d0dd8bcc2a1483a8ff3c31e4cf4 /arch/arm/mach-pxa/include/mach/balloon3.h
parent1b43d8eda71bc953c9005afd63952e0666169553 (diff)
downloadlinux-6ac6b817f3f4c23c5febd960d8deb343e13af5f3.tar.bz2
ARM: pxa: encode IRQ number into .nr_irqs
Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com> Acked-by: Antonio Ospite <ospite@studenti.unina.it> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/include/mach/balloon3.h')
-rw-r--r--arch/arm/mach-pxa/include/mach/balloon3.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/include/mach/balloon3.h b/arch/arm/mach-pxa/include/mach/balloon3.h
index eec92e6fd7cf..561562b4360b 100644
--- a/arch/arm/mach-pxa/include/mach/balloon3.h
+++ b/arch/arm/mach-pxa/include/mach/balloon3.h
@@ -174,6 +174,8 @@ enum balloon3_features {
#define BALLOON3_CODEC_IRQ IRQ_GPIO(BALLOON3_GPIO_CODEC_IRQ)
#define BALLOON3_S0_CD_IRQ IRQ_GPIO(BALLOON3_GPIO_S0_CD)
+#define BALLOON3_NR_IRQS (IRQ_BOARD_START + 4)
+
extern int balloon3_has(enum balloon3_features feature);
#endif