]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
gpio/ep93xx: move driver to drivers/gpio
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 1 Jun 2011 17:09:19 +0000 (10:09 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Mon, 6 Jun 2011 16:09:42 +0000 (10:09 -0600)
The GPIO driver should reside in drivers/gpio.

v3: Change Kconfig option to def_bool y
v2: Make the Kconfig symbol a silent option, dependent on ARCH_EP93XX

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/arm/mach-ep93xx/Makefile
drivers/gpio/Kconfig
drivers/gpio/Makefile
drivers/gpio/gpio-ep93xx.c [moved from arch/arm/mach-ep93xx/gpio.c with 100% similarity]

index 33ee2c863d1808a1015098975fed81fe238e30d7..6b7c41d155df19f5bfc953d6a75685ee734752e2 100644 (file)
@@ -1,7 +1,7 @@
 #
 # Makefile for the linux kernel.
 #
-obj-y                  := core.o clock.o dma-m2p.o gpio.o
+obj-y                  := core.o clock.o dma-m2p.o
 obj-m                  :=
 obj-n                  :=
 obj-                   :=
index 2967002a9f820b2894dd1f8f1110a47a9694e250..21271a5209abc0aa77a9c4fe94adc15de942834d 100644 (file)
@@ -86,6 +86,10 @@ config GPIO_IT8761E
        help
          Say yes here to support GPIO functionality of IT8761E super I/O chip.
 
+config GPIO_EP93XX
+       def_bool y
+       depends on ARCH_EP93XX
+
 config GPIO_EXYNOS4
        def_bool y
        depends on CPU_EXYNOS4210
index b605f8ec6fbe0afc01e6c4604de67e6a85f98add..e6e503229c869946c7cb8e93aa1c45435d85fd2e 100644 (file)
@@ -8,6 +8,7 @@ obj-$(CONFIG_GPIO_ADP5520)      += adp5520-gpio.o
 obj-$(CONFIG_GPIO_ADP5588)     += adp5588-gpio.o
 obj-$(CONFIG_GPIO_BASIC_MMIO_CORE)     += basic_mmio_gpio.o
 obj-$(CONFIG_GPIO_BASIC_MMIO)  += basic_mmio_gpio.o
+obj-$(CONFIG_GPIO_EP93XX)      += gpio-ep93xx.o
 obj-$(CONFIG_GPIO_EXYNOS4)     += gpio-exynos4.o
 obj-$(CONFIG_GPIO_PLAT_SAMSUNG)        += gpio-plat-samsung.o
 obj-$(CONFIG_GPIO_S5PC100)     += gpio-s5pc100.o