diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-12-13 20:44:13 +0000 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2008-12-14 11:34:47 +0000 |
commit | 7ef71320eba8933275be10bfa44e083bec95b3f1 (patch) | |
tree | 3f588c2f24204ecedcce1b3814cd5c3b130e9c4b /arch/arm/mach-ks8695/include | |
parent | 72880ad866c21badace4d8026c1e58f2fde087fb (diff) | |
download | linux-7ef71320eba8933275be10bfa44e083bec95b3f1.tar.bz2 |
[ARM] KS8695: Add GPIO to IRQ mapping function
Use the GPIOlib .to_irq call to map KS8695 GPIOs
to the relevant IRQ line.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-ks8695/include')
-rw-r--r-- | arch/arm/mach-ks8695/include/mach/gpio.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/mach-ks8695/include/mach/gpio.h b/arch/arm/mach-ks8695/include/mach/gpio.h index 6379f2fe843d..86312d476bc6 100644 --- a/arch/arm/mach-ks8695/include/mach/gpio.h +++ b/arch/arm/mach-ks8695/include/mach/gpio.h @@ -36,11 +36,6 @@ extern int ks8695_gpio_interrupt(unsigned int pin, unsigned int type); /* - * Map GPIO line to IRQ number. - */ -extern int gpio_to_irq(unsigned int pin); - -/* * Map IRQ number to GPIO line. */ extern int irq_to_gpio(unsigned int irq); @@ -54,6 +49,7 @@ extern int irq_to_gpio(unsigned int irq); */ #define gpio_get_value __gpio_get_value #define gpio_set_value __gpio_set_value +#define gpio_to_irq __gpio_to_irq /* Register the GPIOs */ extern void ks8695_register_gpios(void); |