Ver Fonte

ARM: SAMSUNG: Move gpiolib support in gpio.c to plat-samsung

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>
Ben Dooks há 16 anos atrás
pai
commit
4f2b617aff

+ 0 - 1
arch/arm/plat-s3c/Makefile

@@ -13,7 +13,6 @@ obj-				:=
 
 obj-y				+= init.o
 obj-y				+= time.o
-obj-y				+= gpio.o
 
 # DMA support
 

+ 1 - 0
arch/arm/plat-samsung/Makefile

@@ -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

+ 0 - 0
arch/arm/plat-s3c/gpio.c → arch/arm/plat-samsung/gpio.c