diff options
author | Haojian Zhuang <haojian.zhuang@marvell.com> | 2010-08-20 15:23:59 +0800 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2010-10-08 16:21:17 +0800 |
commit | 6ac6b817f3f4c23c5febd960d8deb343e13af5f3 (patch) | |
tree | 9d5642b9699e3d0dd8bcc2a1483a8ff3c31e4cf4 /arch/arm/mach-pxa/include/mach/pcm027.h | |
parent | 1b43d8eda71bc953c9005afd63952e0666169553 (diff) | |
download | blackbird-op-linux-6ac6b817f3f4c23c5febd960d8deb343e13af5f3.tar.gz blackbird-op-linux-6ac6b817f3f4c23c5febd960d8deb343e13af5f3.zip |
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/pcm027.h')
-rw-r--r-- | arch/arm/mach-pxa/include/mach/pcm027.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/include/mach/pcm027.h b/arch/arm/mach-pxa/include/mach/pcm027.h index 04083263167e..4bac588478a8 100644 --- a/arch/arm/mach-pxa/include/mach/pcm027.h +++ b/arch/arm/mach-pxa/include/mach/pcm027.h @@ -30,6 +30,8 @@ #define PCM027_MMCDET_IRQ PCM027_IRQ(2) #define PCM027_PM_5V_IRQ PCM027_IRQ(3) +#define PCM027_NR_IRQS (IRQ_BOARD_START + 32) + /* I2C RTC */ #define PCM027_RTC_IRQ_GPIO 0 #define PCM027_RTC_IRQ IRQ_GPIO(PCM027_RTC_IRQ_GPIO) |