summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/gpio.h
diff options
context:
space:
mode:
authorLinus Walleij2014-06-04 15:14:49 +0200
committerLinus Walleij2014-06-30 21:37:32 +0200
commitdfa46d23406f8aaf4e4ea2410816c3ed736398eb (patch)
tree62d0ff81e02efe58af03d3a1540d82ff7c7a1168 /arch/arm/include/asm/gpio.h
parentARM: mach-s5p: get rid of all <mach/gpio.h> headers (diff)
downloadkernel-qcow2-linux-dfa46d23406f8aaf4e4ea2410816c3ed736398eb.tar.gz
kernel-qcow2-linux-dfa46d23406f8aaf4e4ea2410816c3ed736398eb.tar.xz
kernel-qcow2-linux-dfa46d23406f8aaf4e4ea2410816c3ed736398eb.zip
ARM: kill CONFIG_NEED_MACH_GPIO_H
The long pain of maintaining the legacy <mach/gpio.h> include ladder is now gone with S5P as the last user being deleted. Cut this Kconfig option and remove the inclusion directive in <asm/gpio.h> for good. Acked-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/include/asm/gpio.h')
-rw-r--r--arch/arm/include/asm/gpio.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/include/asm/gpio.h b/arch/arm/include/asm/gpio.h
index 477e0206e016..5e1742ea36b7 100644
--- a/arch/arm/include/asm/gpio.h
+++ b/arch/arm/include/asm/gpio.h
@@ -5,11 +5,6 @@
#define ARCH_NR_GPIOS CONFIG_ARCH_NR_GPIO
#endif
-/* not all ARM platforms necessarily support this API ... */
-#ifdef CONFIG_NEED_MACH_GPIO_H
-#include <mach/gpio.h>
-#endif
-
#ifndef __ARM_GPIOLIB_COMPLEX
/* Note: this may rely upon the value of ARCH_NR_GPIOS set in mach/gpio.h */
#include <asm-generic/gpio.h>