Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d19494b187b20e363f9b434b9ceab4159ac88324
Commit:     d19494b187b20e363f9b434b9ceab4159ac88324
Parent:     4c784ef76ac4443ab13648859f1b2a2737546cc1
Author:     Ben Dooks <[EMAIL PROTECTED]>
AuthorDate: Fri Feb 9 19:24:45 2007 +0100
Committer:  Russell King <[EMAIL PROTECTED]>
CommitDate: Sun Feb 11 16:54:33 2007 +0000

    [ARM] 4156/1: S3C24XX: Add CONFIG_S3C2410_GPIO
    
    In preperation for splitting the arch-s3c2410 directory
    up, add a CONFIG_S3C2410_GPIO instead of implicitly
    making the .o for CONFIG_CPU_S3C2410 and CONFIG_CPU_S3C2440
    
    Signed-off-by: Ben Dooks <[EMAIL PROTECTED]>
    Signed-off-by: Russell King <[EMAIL PROTECTED]>
---
 arch/arm/mach-s3c2410/Kconfig  |    8 ++++++++
 arch/arm/mach-s3c2410/Makefile |    3 +--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-s3c2410/Kconfig b/arch/arm/mach-s3c2410/Kconfig
index 6329b40..0ab590e 100644
--- a/arch/arm/mach-s3c2410/Kconfig
+++ b/arch/arm/mach-s3c2410/Kconfig
@@ -158,6 +158,11 @@ config S3C2410_CLOCK
        help
          Clock code for the S3C2410, and similar processors
 
+config S3C2410_GPIO
+       bool
+       help
+         GPIO code for S3C2410 and similar processors
+
 config S3C2410_PM
        bool
        help
@@ -174,6 +179,7 @@ config CPU_S3C2410
        bool
        depends on ARCH_S3C2410
        select S3C2410_CLOCK
+       select S3C2410_GPIO
        select S3C2410_PM if PM
        help
          Support for S3C2410 and S3C2410A family from the S3C24XX line
@@ -223,6 +229,7 @@ config CPU_S3C2440
        depends on ARCH_S3C2410
        select S3C2410_CLOCK
        select S3C2410_PM if PM
+       select S3C2410_GPIO
        select S3C2440_DMA if S3C2410_DMA
        select CPU_S3C244X
        help
@@ -232,6 +239,7 @@ config CPU_S3C2442
        bool
        depends on ARCH_S3C2420
        select S3C2410_CLOCK
+       select S3C2410_GPIO
        select S3C2410_PM if PM
        select CPU_S3C244X
        help
diff --git a/arch/arm/mach-s3c2410/Makefile b/arch/arm/mach-s3c2410/Makefile
index 85ffa12..1cc5feb 100644
--- a/arch/arm/mach-s3c2410/Makefile
+++ b/arch/arm/mach-s3c2410/Makefile
@@ -19,10 +19,10 @@ obj-$(CONFIG_CPU_S3C2400)   += s3c2400-gpio.o
 # S3C2410 support files
 
 obj-$(CONFIG_CPU_S3C2410)      += s3c2410.o
-obj-$(CONFIG_CPU_S3C2410)      += s3c2410-gpio.o
 obj-$(CONFIG_CPU_S3C2410)      += s3c2410-irq.o
 
 obj-$(CONFIG_S3C2410_PM)       += s3c2410-pm.o s3c2410-sleep.o
+obj-$(CONFIG_S3C2410_GPIO)     += s3c2410-gpio.o
 obj-$(CONFIG_CPU_S3C2410_DMA)  += s3c2410-dma.o
 
 # Power Management support
@@ -54,7 +54,6 @@ obj-$(CONFIG_S3C2410_CLOCK)   += s3c2410-clock.o
 obj-$(CONFIG_CPU_S3C2440)      += s3c2440.o s3c2440-dsc.o
 obj-$(CONFIG_CPU_S3C2440)      += s3c2440-irq.o
 obj-$(CONFIG_CPU_S3C2440)      += s3c2440-clock.o
-obj-$(CONFIG_CPU_S3C2440)      += s3c2410-gpio.o
 obj-$(CONFIG_S3C2440_DMA)      += s3c2440-dma.o
 
 # S3C2442 support
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to