aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2013-01-18 03:58:26 -0500
committerOlof Johansson <olof@lixom.net>2013-01-22 03:01:50 -0500
commit7d47f3643213ed8d8fa885cf166e2685fa85d6fb (patch)
tree00fe300d425b38a7befa3607b5787ea08376d205
parent2ea0dde7653342d363144b17cb39932e27428e9a (diff)
ARM: remove redundant 'select GENERIC_GPIO'
In drivers/gpio/Kcong, ARCH_REQUIRE_GPIOLIB selects GPIOLIB which in turn selects GENERIC_GPIO. So GENERIC_GPIO will be selected automatically for those platforms that select ARCH_REQUIRE_GPIOLIB. Remove the redundant 'select GENERIC_GPIO' for platforms that already select ARCH_REQUIRE_GPIOLIB at either mach or plat level. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r--arch/arm/Kconfig9
-rw-r--r--arch/arm/mach-bcm/Kconfig1
-rw-r--r--arch/arm/mach-picoxcell/Kconfig1
-rw-r--r--arch/arm/mach-vt8500/Kconfig1
4 files changed, 0 insertions, 12 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 67874b82a4ed..c217521bc1e1 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -347,7 +347,6 @@ config ARCH_BCM2835
347 select COMMON_CLK 347 select COMMON_CLK
348 select CPU_V6 348 select CPU_V6
349 select GENERIC_CLOCKEVENTS 349 select GENERIC_CLOCKEVENTS
350 select GENERIC_GPIO
351 select MULTI_IRQ_HANDLER 350 select MULTI_IRQ_HANDLER
352 select PINCTRL 351 select PINCTRL
353 select PINCTRL_BCM2835 352 select PINCTRL_BCM2835
@@ -644,7 +643,6 @@ config ARCH_TEGRA
644 select CLKSRC_MMIO 643 select CLKSRC_MMIO
645 select COMMON_CLK 644 select COMMON_CLK
646 select GENERIC_CLOCKEVENTS 645 select GENERIC_CLOCKEVENTS
647 select GENERIC_GPIO
648 select HAVE_CLK 646 select HAVE_CLK
649 select HAVE_SMP 647 select HAVE_SMP
650 select MIGHT_HAVE_CACHE_L2X0 648 select MIGHT_HAVE_CACHE_L2X0
@@ -744,7 +742,6 @@ config ARCH_S3C24XX
744 select ARCH_HAS_CPUFREQ 742 select ARCH_HAS_CPUFREQ
745 select ARCH_USES_GETTIMEOFFSET 743 select ARCH_USES_GETTIMEOFFSET
746 select CLKDEV_LOOKUP 744 select CLKDEV_LOOKUP
747 select GENERIC_GPIO
748 select HAVE_CLK 745 select HAVE_CLK
749 select HAVE_S3C2410_I2C if I2C 746 select HAVE_S3C2410_I2C if I2C
750 select HAVE_S3C2410_WATCHDOG if WATCHDOG 747 select HAVE_S3C2410_WATCHDOG if WATCHDOG
@@ -787,7 +784,6 @@ config ARCH_S5P64X0
787 select CLKSRC_MMIO 784 select CLKSRC_MMIO
788 select CPU_V6 785 select CPU_V6
789 select GENERIC_CLOCKEVENTS 786 select GENERIC_CLOCKEVENTS
790 select GENERIC_GPIO
791 select HAVE_CLK 787 select HAVE_CLK
792 select HAVE_S3C2410_I2C if I2C 788 select HAVE_S3C2410_I2C if I2C
793 select HAVE_S3C2410_WATCHDOG if WATCHDOG 789 select HAVE_S3C2410_WATCHDOG if WATCHDOG
@@ -802,7 +798,6 @@ config ARCH_S5PC100
802 select ARCH_USES_GETTIMEOFFSET 798 select ARCH_USES_GETTIMEOFFSET
803 select CLKDEV_LOOKUP 799 select CLKDEV_LOOKUP
804 select CPU_V7 800 select CPU_V7
805 select GENERIC_GPIO
806 select HAVE_CLK 801 select HAVE_CLK
807 select HAVE_S3C2410_I2C if I2C 802 select HAVE_S3C2410_I2C if I2C
808 select HAVE_S3C2410_WATCHDOG if WATCHDOG 803 select HAVE_S3C2410_WATCHDOG if WATCHDOG
@@ -820,7 +815,6 @@ config ARCH_S5PV210
820 select CLKSRC_MMIO 815 select CLKSRC_MMIO
821 select CPU_V7 816 select CPU_V7
822 select GENERIC_CLOCKEVENTS 817 select GENERIC_CLOCKEVENTS
823 select GENERIC_GPIO
824 select HAVE_CLK 818 select HAVE_CLK
825 select HAVE_S3C2410_I2C if I2C 819 select HAVE_S3C2410_I2C if I2C
826 select HAVE_S3C2410_WATCHDOG if WATCHDOG 820 select HAVE_S3C2410_WATCHDOG if WATCHDOG
@@ -838,7 +832,6 @@ config ARCH_EXYNOS
838 select CLKDEV_LOOKUP 832 select CLKDEV_LOOKUP
839 select CPU_V7 833 select CPU_V7
840 select GENERIC_CLOCKEVENTS 834 select GENERIC_CLOCKEVENTS
841 select GENERIC_GPIO
842 select HAVE_CLK 835 select HAVE_CLK
843 select HAVE_S3C2410_I2C if I2C 836 select HAVE_S3C2410_I2C if I2C
844 select HAVE_S3C2410_WATCHDOG if WATCHDOG 837 select HAVE_S3C2410_WATCHDOG if WATCHDOG
@@ -873,7 +866,6 @@ config ARCH_U300
873 select COMMON_CLK 866 select COMMON_CLK
874 select CPU_ARM926T 867 select CPU_ARM926T
875 select GENERIC_CLOCKEVENTS 868 select GENERIC_CLOCKEVENTS
876 select GENERIC_GPIO
877 select HAVE_TCM 869 select HAVE_TCM
878 select SPARSE_IRQ 870 select SPARSE_IRQ
879 help 871 help
@@ -957,7 +949,6 @@ config ARCH_VT8500_SINGLE
957 select COMMON_CLK 949 select COMMON_CLK
958 select CPU_ARM926T 950 select CPU_ARM926T
959 select GENERIC_CLOCKEVENTS 951 select GENERIC_CLOCKEVENTS
960 select GENERIC_GPIO
961 select HAVE_CLK 952 select HAVE_CLK
962 select MULTI_IRQ_HANDLER 953 select MULTI_IRQ_HANDLER
963 select SPARSE_IRQ 954 select SPARSE_IRQ
diff --git a/arch/arm/mach-bcm/Kconfig b/arch/arm/mach-bcm/Kconfig
index 48705c10a0fe..bf02471d7e7c 100644
--- a/arch/arm/mach-bcm/Kconfig
+++ b/arch/arm/mach-bcm/Kconfig
@@ -7,7 +7,6 @@ config ARCH_BCM
7 select ARM_GIC 7 select ARM_GIC
8 select CPU_V7 8 select CPU_V7
9 select GENERIC_CLOCKEVENTS 9 select GENERIC_CLOCKEVENTS
10 select GENERIC_GPIO
11 select GENERIC_TIME 10 select GENERIC_TIME
12 select GPIO_BCM 11 select GPIO_BCM
13 select SPARSE_IRQ 12 select SPARSE_IRQ
diff --git a/arch/arm/mach-picoxcell/Kconfig b/arch/arm/mach-picoxcell/Kconfig
index 868796f8085c..13bae78b215a 100644
--- a/arch/arm/mach-picoxcell/Kconfig
+++ b/arch/arm/mach-picoxcell/Kconfig
@@ -7,7 +7,6 @@ config ARCH_PICOXCELL
7 select DW_APB_TIMER 7 select DW_APB_TIMER
8 select DW_APB_TIMER_OF 8 select DW_APB_TIMER_OF
9 select GENERIC_CLOCKEVENTS 9 select GENERIC_CLOCKEVENTS
10 select GENERIC_GPIO
11 select HAVE_TCM 10 select HAVE_TCM
12 select NO_IOPORT 11 select NO_IOPORT
13 select SPARSE_IRQ 12 select SPARSE_IRQ
diff --git a/arch/arm/mach-vt8500/Kconfig b/arch/arm/mach-vt8500/Kconfig
index d1cbda66dc9c..9adcb9e76f54 100644
--- a/arch/arm/mach-vt8500/Kconfig
+++ b/arch/arm/mach-vt8500/Kconfig
@@ -7,7 +7,6 @@ config ARCH_VT8500
7 select CLKSRC_OF 7 select CLKSRC_OF
8 select CPU_ARM926T 8 select CPU_ARM926T
9 select GENERIC_CLOCKEVENTS 9 select GENERIC_CLOCKEVENTS
10 select GENERIC_GPIO
11 select HAVE_CLK 10 select HAVE_CLK
12 select VT8500_TIMER 11 select VT8500_TIMER
13 help 12 help