]> git.karo-electronics.de Git - linux-beck.git/commitdiff
GPIO: OMAP: move to drivers/gpio
authorKevin Hilman <khilman@ti.com>
Fri, 20 May 2011 09:53:37 +0000 (11:53 +0200)
committerKevin Hilman <khilman@ti.com>
Fri, 27 May 2011 15:43:34 +0000 (08:43 -0700)
Move OMAP GPIO driver to drivers/gpio.  Builds whenever
CONFIG_ARCH_OMAP=y.

Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/plat-omap/Makefile
drivers/gpio/Makefile
drivers/gpio/gpio-omap.c [moved from arch/arm/plat-omap/gpio.c with 99% similarity]

index a4a12859fdd57c6bc4a65870ac57682c6f92f28d..f0233e6abcdff0e9d72fe4967df9be6a36e8e4e6 100644 (file)
@@ -3,7 +3,7 @@
 #
 
 # Common support
-obj-y := common.o sram.o clock.o devices.o dma.o mux.o gpio.o \
+obj-y := common.o sram.o clock.o devices.o dma.o mux.o \
         usb.o fb.o io.o counter_32k.o
 obj-m :=
 obj-n :=
index becef5954356bdc6b126a5c8a1bbb208f1e6ee1f..a6f1d42f2653ec5ef79666f84a25461770b8c869 100644 (file)
@@ -19,6 +19,7 @@ obj-$(CONFIG_GPIO_MAX732X)    += max732x.o
 obj-$(CONFIG_GPIO_MC33880)     += mc33880.o
 obj-$(CONFIG_GPIO_MCP23S08)    += mcp23s08.o
 obj-$(CONFIG_GPIO_74X164)      += 74x164.o
+obj-$(CONFIG_ARCH_OMAP)         += gpio-omap.o
 obj-$(CONFIG_GPIO_PCA953X)     += pca953x.o
 obj-$(CONFIG_GPIO_PCF857X)     += pcf857x.o
 obj-$(CONFIG_GPIO_PCH)         += pch_gpio.o
similarity index 99%
rename from arch/arm/plat-omap/gpio.c
rename to drivers/gpio/gpio-omap.c
index 44acabd5f530d964b7085290f6806fc737cc27c3..6c51191da567e1fba91e774573f08f087e90daee 100644 (file)
@@ -1,6 +1,4 @@
 /*
- *  linux/arch/arm/plat-omap/gpio.c
- *
  * Support functions for OMAP GPIO
  *
  * Copyright (C) 2003-2005 Nokia Corporation