]> Pileus Git - ~andy/linux/commitdiff
ARM: SAMSUNG: Move gpiolib support in gpio.c to plat-samsung
authorBen Dooks <ben-linux@fluff.org>
Mon, 18 Jan 2010 02:22:38 +0000 (11:22 +0900)
committerBen Dooks <ben-linux@fluff.org>
Tue, 19 Jan 2010 09:37:19 +0000 (18:37 +0900)
Move the gpio.c code containing the core gpiolib and GPIO support to
plat-samsung from plat-s3c as it is used by all current Samsung SoCs.

Note, we didn't move this to gpiolib.c as it contains code that is not
strictly for gpiolib support and the 4bit code is already called gpiolib.c
so make the change easier by not renaming both files in one go.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/plat-s3c/Makefile
arch/arm/plat-samsung/Makefile
arch/arm/plat-samsung/gpio.c [moved from arch/arm/plat-s3c/gpio.c with 100% similarity]

index ac12ba526f776963196dce03b4e08ea25bd4568a..20cb335aa75b21c1a6bd1716f216e79c21351f18 100644 (file)
@@ -13,7 +13,6 @@ obj-                          :=
 
 obj-y                          += init.o
 obj-y                          += time.o
-obj-y                          += gpio.o
 
 # DMA support
 
index 94fe6ea362be20d6fb6ce347575d89bc2aac21f0..27d5bfb60b2ebdf1b1828b18b66987e5624b3498 100644 (file)
@@ -13,6 +13,7 @@ obj-                          :=
 
 obj-y                          += clock.o
 obj-y                          += pwm-clock.o
+obj-y                          += gpio.o
 obj-y                          += gpio-config.o
 
 obj-$(CONFIG_SAMSUNG_GPIOLIB_4BIT)     += gpiolib.o