]> err.no Git - linux-2.6/commit
[POWERPC] Add powerpc get/set_rtc_time interface to new generic rtc class
authorKim Phillips <kim.phillips@freescale.com>
Tue, 26 Sep 2006 22:46:37 +0000 (17:46 -0500)
committerPaul Mackerras <paulus@samba.org>
Mon, 2 Oct 2006 07:48:47 +0000 (17:48 +1000)
commit7a69af63e788a324d162201a0b23df41bcf158dd
treeb25e776a04eedd122594d75841dd30b4419657b0
parent2bf118197cb4d9a5e7a9e45b5b007235fdc9f402
[POWERPC] Add powerpc get/set_rtc_time interface to new generic rtc class

Add powerpc get/set_rtc_time interface to new generic rtc class. This
abstracts rtc chip specific code from the platform code for rtc-over-i2c
platforms.  Specific RTC chip support is now configured under
Device Drivers -> Real Time Clock. Setting time of day from the RTC
on startup is also configurable.

this time without the potentially platform breaking initcall.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/time.c
include/asm-powerpc/time.h