ARM: kill CONFIG_NEED_MACH_GPIO_H
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 4 Jun 2014 13:14:49 +0000 (15:14 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 30 Jun 2014 19:37:32 +0000 (21:37 +0200)
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>
arch/arm/Kconfig
arch/arm/include/asm/gpio.h

index f5d9ef9..7fd67af 100644 (file)
@@ -239,13 +239,6 @@ config ARM_PATCH_PHYS_VIRT
          this feature (eg, building a kernel for a single machine) and
          you need to shrink the kernel to the minimal size.
 
-config NEED_MACH_GPIO_H
-       bool
-       help
-         Select this when mach/gpio.h is required to provide special
-         definitions for this platform. The need for mach/gpio.h should
-         be avoided when possible.
-
 config NEED_MACH_IO_H
        bool
        help
index 477e020..5e1742e 100644 (file)
@@ -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>