rtc integration with hwclock

mahendra varman mahendravarman15 at gmail.com
Mon Jul 14 00:53:26 EST 2008


Hi

Help me to solve the below point

Hi have wrote a simple i2c based driver for rtc chip (x1226) in linux 2.6
with inbuilt i2c routines.

In the get_rtc_time routine i can able to read the values from the rtc chip
and store it in variables

I need to know how to update those values into the rtc structure so that if
i put hwclock it should display the read value....


Any example code depicting the above point is also welcome


Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20080713/0e46c3de/attachment.htm>


More information about the Linuxppc-embedded mailing list