ARM: SAMSUNG: Fix HAVE_S3C2410_I2C warnings
authorKukjin Kim <kgene.kim@samsung.com>
Sat, 13 Nov 2010 07:08:32 +0000 (16:08 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Sat, 13 Nov 2010 07:30:44 +0000 (16:30 +0900)
This patch fixes following warnings.
warning: (ARCH_S3C2410 && <choice> || ARCH_S3C64XX && <choice> ||
          ARCH_S5P64X0 && <choice> || ARCH_S5PC100 && <choice> ||
          ARCH_S5PV210 && <choice> || ARCH_S5PV310 && <choice>)
         selects HAVE_S3C2410_I2C which has unmet direct dependencies (I2C)

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/Kconfig

index a30271385e7061eff9b92cad9119cc0f2fdbe3f4..30ef76a18ef795576e88bc6f471a9c414016958a 100644 (file)
@@ -646,7 +646,7 @@ config ARCH_S3C2410
        select ARCH_HAS_CPUFREQ
        select HAVE_CLK
        select ARCH_USES_GETTIMEOFFSET
-       select HAVE_S3C2410_I2C
+       select HAVE_S3C2410_I2C if I2C
        help
          Samsung S3C2410X CPU based systems, such as the Simtec Electronics
          BAST (<http://www.simtec.co.uk/products/EB110ITX/>), the IPAQ 1940 or
@@ -676,7 +676,7 @@ config ARCH_S3C64XX
        select S3C_DEV_NAND
        select USB_ARCH_HAS_OHCI
        select SAMSUNG_GPIOLIB_4BIT
-       select HAVE_S3C2410_I2C
+       select HAVE_S3C2410_I2C if I2C
        select HAVE_S3C2410_WATCHDOG if WATCHDOG
        help
          Samsung S3C64XX series based systems
@@ -688,7 +688,7 @@ config ARCH_S5P64X0
        select HAVE_CLK
        select HAVE_S3C2410_WATCHDOG if WATCHDOG
        select ARCH_USES_GETTIMEOFFSET
-       select HAVE_S3C2410_I2C
+       select HAVE_S3C2410_I2C if I2C
        select HAVE_S3C_RTC
        help
          Samsung S5P64X0 CPU based systems, such as the Samsung SMDK6440,
@@ -711,7 +711,7 @@ config ARCH_S5PC100
        select CPU_V7
        select ARM_L1_CACHE_SHIFT_6
        select ARCH_USES_GETTIMEOFFSET
-       select HAVE_S3C2410_I2C
+       select HAVE_S3C2410_I2C if I2C
        select HAVE_S3C_RTC
        select HAVE_S3C2410_WATCHDOG if WATCHDOG
        help
@@ -726,7 +726,7 @@ config ARCH_S5PV210
        select ARM_L1_CACHE_SHIFT_6
        select ARCH_HAS_CPUFREQ
        select ARCH_USES_GETTIMEOFFSET
-       select HAVE_S3C2410_I2C
+       select HAVE_S3C2410_I2C if I2C
        select HAVE_S3C_RTC
        select HAVE_S3C2410_WATCHDOG if WATCHDOG
        help
@@ -740,7 +740,7 @@ config ARCH_S5PV310
        select HAVE_CLK
        select GENERIC_CLOCKEVENTS
        select HAVE_S3C_RTC
-       select HAVE_S3C2410_I2C
+       select HAVE_S3C2410_I2C if I2C
        select HAVE_S3C2410_WATCHDOG if WATCHDOG
        help
          Samsung S5PV310 series based systems