From: Linus Walleij Date: Wed, 4 Jun 2014 13:14:49 +0000 (+0200) Subject: ARM: kill CONFIG_NEED_MACH_GPIO_H X-Git-Tag: firefly_0821_release~176^2~3448^2~8^2~1 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=dfa46d23406f8aaf4e4ea2410816c3ed736398eb;p=firefly-linux-kernel-4.4.55.git ARM: kill CONFIG_NEED_MACH_GPIO_H The long pain of maintaining the legacy include ladder is now gone with S5P as the last user being deleted. Cut this Kconfig option and remove the inclusion directive in for good. Acked-by: Alexandre Courbot Signed-off-by: Linus Walleij --- diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index f5d9ef9c11b7..7fd67afcd1ff 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -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 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 -#endif - #ifndef __ARM_GPIOLIB_COMPLEX /* Note: this may rely upon the value of ARCH_NR_GPIOS set in mach/gpio.h */ #include