aboutsummaryrefslogtreecommitdiffstats
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.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/arch/arm/mach-ks8695/include/mach/gpio.h b/arch/arm/mach-ks8695/include/mach/gpio.h
index 86312d476bc6..c13952c22a39 100644
--- a/arch/arm/mach-ks8695/include/mach/gpio.h
+++ b/arch/arm/mach-ks8695/include/mach/gpio.h
@@ -40,17 +40,10 @@ extern int ks8695_gpio_interrupt(unsigned int pin, unsigned int type);
40 */ 40 */
41extern int irq_to_gpio(unsigned int irq); 41extern int irq_to_gpio(unsigned int irq);
42 42
43#include <asm-generic/gpio.h>
44
45/* If it turns out that we need to optimise GPIO access for the
46 * Micrel's GPIOs, then these can be changed to check their argument
47 * directly as static inlines. However for now it's probably not
48 * worthwhile.
49 */
50#define gpio_get_value __gpio_get_value
51#define gpio_set_value __gpio_set_value
52#define gpio_to_irq __gpio_to_irq 43#define gpio_to_irq __gpio_to_irq
53 44
45#define __ARM_GPIOLIB_TRIVIAL
46
54/* Register the GPIOs */ 47/* Register the GPIOs */
55extern void ks8695_register_gpios(void); 48extern void ks8695_register_gpios(void);
56 49