summaryrefslogtreecommitdiff
path: root/arch/arm/mach-shmobile/include/mach/emev2.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-shmobile/include/mach/emev2.h')
-rw-r--r--arch/arm/mach-shmobile/include/mach/emev2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/emev2.h b/arch/arm/mach-shmobile/include/mach/emev2.h
index 3fc718419854..e6b0c1bf4b7e 100644
--- a/arch/arm/mach-shmobile/include/mach/emev2.h
+++ b/arch/arm/mach-shmobile/include/mach/emev2.h
@@ -13,4 +13,7 @@ extern void emev2_secondary_init(unsigned int cpu);
extern int emev2_boot_secondary(unsigned int cpu);
extern void emev2_smp_prepare_cpus(void);
+#define EMEV2_GPIO_BASE 200
+#define EMEV2_GPIO_IRQ(n) (EMEV2_GPIO_BASE + (n))
+
#endif /* __ASM_EMEV2_H__ */