time question
Russell King - ARM Linux
linux at arm.linux.org.uk
Sun Jan 10 11:46:19 EST 2010
On Thu, Jan 07, 2010 at 12:35:39PM +0800, rainbowczj rainbowczj wrote:
> I am study the time of the arm , I have a question:
>
> In the \arm\kernel\times.c . there is a function pointer int
> (*set_rtc)(void).it is the hook for setting the RTC's idea of the current
> time. but I can't find which function to this pointer. somebody can tell me
> where I can find it and how to set the RTC. thanks!
It's never set in today's kernels, because it's redundant. RTCs should
instead be implemented using the RTC support code in drivers/rtc, which
will take care of all this for you.
More information about the linux-arm-kernel
mailing list