Hi<br><br>Help me to solve the below point<br><br>Hi have wrote a simple i2c based driver for rtc chip (x1226) in linux 2.6 with inbuilt i2c routines.<br><br>In the get_rtc_time routine i can able to read the values from the rtc chip and store it in variables<br>
<br>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....<br><br><br>Any example code depicting the above point is also welcome<br><br><br>Thanks in advance<br>