diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-08-08 08:58:28 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-08-12 03:54:19 -0400 |
commit | 8f3c4537bb08001c4772d66ad3fcfcf24d8d180d (patch) | |
tree | 8cf16008305b6a0c6e0420e69a06d20b3ccd2469 /arch/arm/mach-davinci/include/mach | |
parent | 01e7dc89d060413fd639635618de506093730964 (diff) |
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-davinci/include/mach')
-rw-r--r-- | arch/arm/mach-davinci/include/mach/gpio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/include/mach/gpio.h b/arch/arm/mach-davinci/include/mach/gpio.h index 73fc7a087f83..14e7bb20a33a 100644 --- a/arch/arm/mach-davinci/include/mach/gpio.h +++ b/arch/arm/mach-davinci/include/mach/gpio.h | |||
@@ -21,6 +21,8 @@ | |||
21 | #include <mach/irqs.h> | 21 | #include <mach/irqs.h> |
22 | #include <mach/common.h> | 22 | #include <mach/common.h> |
23 | 23 | ||
24 | #define __ARM_GPIOLIB_COMPLEX | ||
25 | |||
24 | #define DAVINCI_GPIO_BASE 0x01C67000 | 26 | #define DAVINCI_GPIO_BASE 0x01C67000 |
25 | 27 | ||
26 | enum davinci_gpio_type { | 28 | enum davinci_gpio_type { |