diff options
author | Olof Johansson <olof@lixom.net> | 2014-07-15 18:29:47 -0700 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2014-07-15 18:29:47 -0700 |
commit | cb6a0fd4e4e15a65bb14b142089990df2def038e (patch) | |
tree | d1d96a0a4fe13dbc6df030c45bdacd6828dcd943 /arch/arm/plat-samsung | |
parent | e1adcba9c8f6453b1aefababce6810a6866a557c (diff) | |
parent | 53430333c345c3531f9443d43c6fba1da693abe4 (diff) | |
download | blackbird-op-linux-cb6a0fd4e4e15a65bb14b142089990df2def038e.tar.gz blackbird-op-linux-cb6a0fd4e4e15a65bb14b142089990df2def038e.zip |
Merge tag 'gpio-h-purge' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio into next/cleanup
This is a purge of all things <mach/gpio.h>, now I never
want to see it again.
- Remove the need for <mach/gpio.h> from S5P
- Kill CONFIG_NEED_MACH_GPIO_H
- Kill remnants of ARM_GPIOLIB_COMPLEX
* tag 'gpio-h-purge' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio:
ARM: delete old reference to ARM_GPIOLIB_COMPLEX
ARM: kill CONFIG_NEED_MACH_GPIO_H
ARM: mach-s5p: get rid of all <mach/gpio.h> headers
ARM: s5p: cut the custom ARCH_NR_GPIOS definition
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/plat-samsung')
-rw-r--r-- | arch/arm/plat-samsung/Kconfig | 16 | ||||
-rw-r--r-- | arch/arm/plat-samsung/include/plat/gpio-core.h | 3 | ||||
-rw-r--r-- | arch/arm/plat-samsung/pm-gpio.c | 2 | ||||
-rw-r--r-- | arch/arm/plat-samsung/s5p-irq-eint.c | 2 |
4 files changed, 4 insertions, 19 deletions
diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig index 1c629c2c270f..6910c8669742 100644 --- a/arch/arm/plat-samsung/Kconfig +++ b/arch/arm/plat-samsung/Kconfig @@ -107,22 +107,6 @@ config S5P_GPIO_DRVSTR Internal configuration to get and set correct GPIO driver strength helper -config SAMSUNG_GPIO_EXTRA - int "Number of additional GPIO pins" - default 128 if SAMSUNG_GPIO_EXTRA128 - default 64 if SAMSUNG_GPIO_EXTRA64 - default 0 - help - Use additional GPIO space in addition to the GPIO's the SOC - provides. This allows expanding the GPIO space for use with - GPIO expanders. - -config SAMSUNG_GPIO_EXTRA64 - bool - -config SAMSUNG_GPIO_EXTRA128 - bool - config S3C_GPIO_SPACE int "Space between gpio banks" default 0 diff --git a/arch/arm/plat-samsung/include/plat/gpio-core.h b/arch/arm/plat-samsung/include/plat/gpio-core.h index cf5aae5b0975..6ce11bfdc37e 100644 --- a/arch/arm/plat-samsung/include/plat/gpio-core.h +++ b/arch/arm/plat-samsung/include/plat/gpio-core.h @@ -14,6 +14,9 @@ #ifndef __PLAT_SAMSUNG_GPIO_CORE_H #define __PLAT_SAMSUNG_GPIO_CORE_H +/* Bring in machine-local definitions, especially S3C_GPIO_END */ +#include <mach/gpio-samsung.h> + #define GPIOCON_OFF (0x00) #define GPIODAT_OFF (0x04) diff --git a/arch/arm/plat-samsung/pm-gpio.c b/arch/arm/plat-samsung/pm-gpio.c index da268813901b..adc91662f72b 100644 --- a/arch/arm/plat-samsung/pm-gpio.c +++ b/arch/arm/plat-samsung/pm-gpio.c @@ -19,9 +19,7 @@ #include <linux/io.h> #include <linux/gpio.h> -#if defined(CONFIG_ARCH_S3C24XX) || defined(CONFIG_ARCH_S3C64XX) #include <mach/gpio-samsung.h> -#endif #include <plat/gpio-core.h> #include <plat/pm.h> diff --git a/arch/arm/plat-samsung/s5p-irq-eint.c b/arch/arm/plat-samsung/s5p-irq-eint.c index ebee4dc11a94..dcd8c2cbf5bb 100644 --- a/arch/arm/plat-samsung/s5p-irq-eint.c +++ b/arch/arm/plat-samsung/s5p-irq-eint.c @@ -14,7 +14,6 @@ #include <linux/irq.h> #include <linux/io.h> #include <linux/device.h> -#include <linux/gpio.h> #include <linux/irqchip/arm-vic.h> #include <linux/of.h> @@ -26,6 +25,7 @@ #include <plat/gpio-cfg.h> #include <mach/regs-gpio.h> +#include <mach/gpio-samsung.h> static inline void s5p_irq_eint_mask(struct irq_data *data) { |