Skip to content

Commit

Permalink
m68knommu: remove unused CONFIG_GENERIC_CMOS_UPDATE option
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Ungerer committed Mar 4, 2012
1 parent 35aefb2 commit b6c58e8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
3 changes: 0 additions & 3 deletions arch/m68k/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ config ARCH_HAS_ILOG2_U64
config GENERIC_CLOCKEVENTS
bool

config GENERIC_CMOS_UPDATE
def_bool !MMU

config GENERIC_GPIO
bool

Expand Down
5 changes: 0 additions & 5 deletions arch/m68k/kernel/time_no.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b6c58e8

Please sign in to comment.