summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ks8695/include
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-08-08 13:58:28 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-08-12 08:54:19 +0100
commit8f3c4537bb08001c4772d66ad3fcfcf24d8d180d (patch)
tree8cf16008305b6a0c6e0420e69a06d20b3ccd2469 /arch/arm/mach-ks8695/include
parent01e7dc89d060413fd639635618de506093730964 (diff)
downloadop-kernel-dev-8f3c4537bb08001c4772d66ad3fcfcf24d8d180d.zip
op-kernel-dev-8f3c4537bb08001c4772d66ad3fcfcf24d8d180d.tar.gz
ARM: gpio: make trivial GPIOLIB implementation the default
Rather than marking the mach/gpio.h header files which want to use the trivial GPIOLIB implementation, mark those which do not want to use it instead. This means that by default, you get the trivial implementation and only have to do something extra if you need to. This should encourage the use of the trivial default implementation. As an additional bonus, several gpio.h header files become empty. Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com> Tested-by: Jamie Iles <jamie@jamieiles.com> Acked-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-ks8695/include')
-rw-r--r--arch/arm/mach-ks8695/include/mach/gpio.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-ks8695/include/mach/gpio.h b/arch/arm/mach-ks8695/include/mach/gpio.h
index 59d6b53..994267b 100644
--- a/arch/arm/mach-ks8695/include/mach/gpio.h
+++ b/arch/arm/mach-ks8695/include/mach/gpio.h
@@ -40,8 +40,6 @@ extern int ks8695_gpio_interrupt(unsigned int pin, unsigned int type);
*/
extern int irq_to_gpio(unsigned int irq);
-#define __ARM_GPIOLIB_TRIVIAL
-
/* Register the GPIOs */
extern void ks8695_register_gpios(void);
OpenPOWER on IntegriCloud