diff options
author | Paul Mundt <lethal@linux-sh.org> | 2012-05-18 15:38:50 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2012-05-18 15:38:50 +0900 |
commit | b6bd263397decbcac5e1c836154a53c14b80f530 (patch) | |
tree | 4376f5f8425e2146c4dd31bc981535d1ba4521cc /arch/sh/include/mach-common | |
parent | b894701e7c472dbc6267bdde68bd6d35266b8dfc (diff) | |
download | linux-b6bd263397decbcac5e1c836154a53c14b80f530.tar.bz2 |
sh: hp6xx evt2irq migration.
Migrate hp6xx to evt2irq backed hwirq lookups.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/mach-common')
-rw-r--r-- | arch/sh/include/mach-common/mach/hp6xx.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/sh/include/mach-common/mach/hp6xx.h b/arch/sh/include/mach-common/mach/hp6xx.h index bcc301ac12f4..6aaaf8596e6a 100644 --- a/arch/sh/include/mach-common/mach/hp6xx.h +++ b/arch/sh/include/mach-common/mach/hp6xx.h @@ -9,10 +9,11 @@ * for more details. * */ +#include <linux/sh_intc.h> -#define HP680_BTN_IRQ 32 /* IRQ0_IRQ */ -#define HP680_TS_IRQ 35 /* IRQ3_IRQ */ -#define HP680_HD64461_IRQ 36 /* IRQ4_IRQ */ +#define HP680_BTN_IRQ evt2irq(0x600) /* IRQ0_IRQ */ +#define HP680_TS_IRQ evt2irq(0x660) /* IRQ3_IRQ */ +#define HP680_HD64461_IRQ evt2irq(0x680) /* IRQ4_IRQ */ #define DAC_LCD_BRIGHTNESS 0 #define DAC_SPEAKER_VOLUME 1 |