sh: Wire up GENERIC_CMOS_UPDATE for the platforms that need it.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 8 May 2009 07:36:13 +0000 (16:36 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 8 May 2009 07:36:13 +0000 (16:36 +0900)
commit6d134b9e8d3f32331ad2faca2db8186f54198931
tree1b778b8e3088f4d5f44db0728693fdf02f3d158f
parentb179b72fad5c88c3b616fb88a9ae7cbbc1a750d3
sh: Wire up GENERIC_CMOS_UPDATE for the platforms that need it.

Now that everything has converted over to generic timekeeping, we need an
alternate method for keeping the RTC updated for those platforms that are
still using the rtc_sh_get/set_time pairs, presently limited to SH-03 and
the Dreamcast. This wires up the GENERIC_CMOS_UPDATE hooks for those to
maintain the same behaviour.

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