sh: Always select RTC_LIB, not just for SUPERH32.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 8 May 2009 10:48:47 +0000 (19:48 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 8 May 2009 10:48:47 +0000 (19:48 +0900)
The RTC_LIB helpers are used in arch/sh/kernel/time.c, which was
previously only the case for the 32-bit variant. Now that this has
become the common implementation, move the RTC_LIB select to reflect
that. Fixes up the sh64 build.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/Kconfig

index d88a61b..6ed16c4 100644 (file)
@@ -15,6 +15,7 @@ config SUPERH
        select HAVE_IOREMAP_PROT if MMU
        select HAVE_ARCH_TRACEHOOK
        select HAVE_DMA_API_DEBUG
+       select RTC_LIB
        help
          The SuperH is a RISC processor targeted for use in embedded systems
          and consumer electronics; it was also used in the Sega Dreamcast
@@ -30,7 +31,6 @@ config SUPERH32
        select HAVE_DYNAMIC_FTRACE
        select HAVE_ARCH_KGDB
        select ARCH_HIBERNATION_POSSIBLE if MMU
-       select RTC_LIB
 
 config SUPERH64
        def_bool ARCH = "sh64"