ARM: SAMSUNG: Fix HAVE_S3C_RTC warnings
authorKukjin Kim <kgene.kim@samsung.com>
Sat, 13 Nov 2010 07:11:46 +0000 (16:11 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Sat, 13 Nov 2010 07:30:52 +0000 (16:30 +0900)
This patch fixes followng build warnings.
warning: (ARCH_S5P64X0 && <choice> || ARCH_S5PC100 && <choice> ||
          ARCH_S5PV210 && <choice> || ARCH_S5PV310 && <choice>)
         selects HAVE_S3C_RTC which has unmet direct dependencies (RTC_CLASS)

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

index 30ef76a18ef795576e88bc6f471a9c414016958a..bb854cde3f814cd8829b4479d398817e39473363 100644 (file)
@@ -689,7 +689,7 @@ config ARCH_S5P64X0
        select HAVE_S3C2410_WATCHDOG if WATCHDOG
        select ARCH_USES_GETTIMEOFFSET
        select HAVE_S3C2410_I2C if I2C
-       select HAVE_S3C_RTC
+       select HAVE_S3C_RTC if RTC_CLASS
        help
          Samsung S5P64X0 CPU based systems, such as the Samsung SMDK6440,
          SMDK6450.
@@ -712,7 +712,7 @@ config ARCH_S5PC100
        select ARM_L1_CACHE_SHIFT_6
        select ARCH_USES_GETTIMEOFFSET
        select HAVE_S3C2410_I2C if I2C
-       select HAVE_S3C_RTC
+       select HAVE_S3C_RTC if RTC_CLASS
        select HAVE_S3C2410_WATCHDOG if WATCHDOG
        help
          Samsung S5PC100 series based systems
@@ -727,7 +727,7 @@ config ARCH_S5PV210
        select ARCH_HAS_CPUFREQ
        select ARCH_USES_GETTIMEOFFSET
        select HAVE_S3C2410_I2C if I2C
-       select HAVE_S3C_RTC
+       select HAVE_S3C_RTC if RTC_CLASS
        select HAVE_S3C2410_WATCHDOG if WATCHDOG
        help
          Samsung S5PV210/S5PC110 series based systems
@@ -739,7 +739,7 @@ config ARCH_S5PV310
        select GENERIC_GPIO
        select HAVE_CLK
        select GENERIC_CLOCKEVENTS
-       select HAVE_S3C_RTC
+       select HAVE_S3C_RTC if RTC_CLASS
        select HAVE_S3C2410_I2C if I2C
        select HAVE_S3C2410_WATCHDOG if WATCHDOG
        help