linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* rtc integration with hwclock
@ 2008-07-13 14:53 mahendra varman
  0 siblings, 0 replies; only message in thread
From: mahendra varman @ 2008-07-13 14:53 UTC (permalink / raw)
  To: linuxppc-embedded, linux-kernel, linux-mips@linux-mips.org

[-- Attachment #1: Type: text/plain, Size: 451 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 498 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-13 14:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-13 14:53 rtc integration with hwclock mahendra varman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).