OSDN Git Service

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 a4a1285..f0233e6 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 becef59..a6f1d42 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 44acabd..6c51191 100644 (file)
@@ -1,6 +1,4 @@
 /*
- *  linux/arch/arm/plat-omap/gpio.c
- *
  * Support functions for OMAP GPIO
  *
  * Copyright (C) 2003-2005 Nokia Corporation