m68knommu: remove unused CONFIG_GENERIC_CMOS_UPDATE option
authorGreg Ungerer <gerg@uclinux.org>
Wed, 22 Feb 2012 03:41:11 +0000 (13:41 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Sun, 4 Mar 2012 23:43:04 +0000 (09:43 +1000)
The CONFIG_GENERIC_CMOS_UPDATE switch is always enabled for the non-MMU
m68k case. But the underlying code to support it, update_persistent_clock(),
doesn't end up doing anything on the currently supported non-MMU platforms.
No platforms supply the necessary function support for writing back the RTC.

So lets remove this option and support code. This also brings m68knommu
in line with the m68k, which doesn't enabled this switch either.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/Kconfig
arch/m68k/kernel/time_no.c

index ae413d4a8bb770783661104ba6d8d77ae0c3a103..6f823dcc0d70ec3b616c5b87ed61b8c8bb7803f2 100644 (file)
@@ -24,9 +24,6 @@ config ARCH_HAS_ILOG2_U64
 config GENERIC_CLOCKEVENTS
        bool
 
-config GENERIC_CMOS_UPDATE
-       def_bool !MMU
-
 config GENERIC_GPIO
        bool
 
index 5fa42f1267065e6f472eb6dfdfe34c3b0b801a90..87c7acd2706f449164eed42f06f29a272aa480c6 100644 (file)
@@ -65,11 +65,6 @@ void read_persistent_clock(struct timespec *ts)
        }
 }
 
-int update_persistent_clock(struct timespec now)
-{
-       return set_rtc_mmss(now.tv_sec);
-}
-
 void __init time_init(void)
 {
        mach_sched_init(timer_interrupt);
This page took 0.024723 seconds and 5 git commands to generate.