summaryrefslogtreecommitdiff
path: root/arch/arm/plat-nomadik/include/plat/gpio.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/plat-nomadik/include/plat/gpio.h')
-rw-r--r--arch/arm/plat-nomadik/include/plat/gpio.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/arch/arm/plat-nomadik/include/plat/gpio.h b/arch/arm/plat-nomadik/include/plat/gpio.h
index d5d7e651269..c804c3474c8 100644
--- a/arch/arm/plat-nomadik/include/plat/gpio.h
+++ b/arch/arm/plat-nomadik/include/plat/gpio.h
@@ -12,16 +12,9 @@
#ifndef __ASM_PLAT_GPIO_H
#define __ASM_PLAT_GPIO_H
-#include <asm-generic/gpio.h>
+#include <linux/kernel.h>
-/*
- * These currently cause a function call to happen, they may be optimized
- * if needed by adding cpu-specific defines to identify blocks
- * (see mach-pxa/include/mach/gpio.h as an example using GPLR etc)
- */
-#define gpio_get_value __gpio_get_value
-#define gpio_set_value __gpio_set_value
-#define gpio_cansleep __gpio_cansleep
+#define __ARM_GPIOLIB_TRIVIAL
#define gpio_to_irq __gpio_to_irq
/*