diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2010-05-20 07:51:10 +0200 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-05-20 15:28:44 +0900 |
commit | 80dfd9556a94fe479fde86370713aafd33b61a0c (patch) | |
tree | 835121842ddb0af778917324869f242d7541d536 /arch/arm/mach-s5pc100/include/mach/gpio.h | |
parent | 23686a07b6222d5c40ea403705325e49d360603e (diff) |
ARM: S5PC100: use common plat-s5p external interrupt code
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s5pc100/include/mach/gpio.h')
-rw-r--r-- | arch/arm/mach-s5pc100/include/mach/gpio.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pc100/include/mach/gpio.h b/arch/arm/mach-s5pc100/include/mach/gpio.h index 29a8a12d9b4..71ae1f52df1 100644 --- a/arch/arm/mach-s5pc100/include/mach/gpio.h +++ b/arch/arm/mach-s5pc100/include/mach/gpio.h @@ -146,6 +146,13 @@ enum s5p_gpio_number { /* define the number of gpios we need to the one after the MP04() range */ #define ARCH_NR_GPIOS (S5PC100_GPIO_END + 1) +#define EINT_MODE S3C_GPIO_SFN(0x2) + +#define EINT_GPIO_0(x) S5PC100_GPH0(x) +#define EINT_GPIO_1(x) S5PC100_GPH1(x) +#define EINT_GPIO_2(x) S5PC100_GPH2(x) +#define EINT_GPIO_3(x) S5PC100_GPH3(x) + #include <asm-generic/gpio.h> #endif /* __ASM_ARCH_GPIO_H */ |