From 7ef71320eba8933275be10bfa44e083bec95b3f1 Mon Sep 17 00:00:00 2001 From: Ben Dooks Date: Sat, 13 Dec 2008 20:44:13 +0000 Subject: [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 --- arch/arm/mach-ks8695/include/mach/gpio.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'arch/arm/mach-ks8695/include') diff --git a/arch/arm/mach-ks8695/include/mach/gpio.h b/arch/arm/mach-ks8695/include/mach/gpio.h index 6379f2fe843..86312d476bc 100644 --- a/arch/arm/mach-ks8695/include/mach/gpio.h +++ b/arch/arm/mach-ks8695/include/mach/gpio.h @@ -35,11 +35,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. */ @@ -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); -- cgit v1.2.3-70-g09d2