From 2fd48f94426d25e59732a54e2a983796714729fa Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Wed, 4 Jun 2014 15:10:45 +0200 Subject: ARM: mach-s5p: get rid of all headers This renames all the local headers in the S5P platforms to indicating a scope local to this platform, and cuts the implicit inclusion of from by removing the use of NEED_MACH_GPIO_H from all S5P variants. Acked-by: Alexandre Courbot Signed-off-by: Linus Walleij --- arch/arm/Kconfig | 3 --- 1 file changed, 3 deletions(-) (limited to 'arch/arm/Kconfig') diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 245058b3b0ef..f5d9ef9c11b7 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -769,7 +769,6 @@ config ARCH_S5P64X0 select HAVE_S3C2410_I2C if I2C select HAVE_S3C2410_WATCHDOG if WATCHDOG select HAVE_S3C_RTC if RTC_CLASS - select NEED_MACH_GPIO_H select SAMSUNG_ATAGS select SAMSUNG_WDT_RESET help @@ -788,7 +787,6 @@ config ARCH_S5PC100 select HAVE_S3C2410_I2C if I2C select HAVE_S3C2410_WATCHDOG if WATCHDOG select HAVE_S3C_RTC if RTC_CLASS - select NEED_MACH_GPIO_H select SAMSUNG_ATAGS select SAMSUNG_WDT_RESET help @@ -807,7 +805,6 @@ config ARCH_S5PV210 select HAVE_S3C2410_I2C if I2C select HAVE_S3C2410_WATCHDOG if WATCHDOG select HAVE_S3C_RTC if RTC_CLASS - select NEED_MACH_GPIO_H select NEED_MACH_MEMORY_H select SAMSUNG_ATAGS help -- cgit v1.2.3 From dfa46d23406f8aaf4e4ea2410816c3ed736398eb Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Wed, 4 Jun 2014 15:14:49 +0200 Subject: 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 --- arch/arm/Kconfig | 7 ------- arch/arm/include/asm/gpio.h | 5 ----- 2 files changed, 12 deletions(-) (limited to 'arch/arm/Kconfig') 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 -- cgit v1.2.3