aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-ks8695/include/mach/gpio.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-ks8695/include/mach/gpio.h')
-rw-r--r--arch/arm/mach-ks8695/include/mach/gpio.h6
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 6379f2fe843..86312d476bc 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);