commit | 9a654518e1b774b8e8f74a819fd12a931e7672c9 | [log] [tgz] |
---|---|---|
author | Ben Dooks <ben-linux@fluff.org> | Sun Aug 27 01:23:22 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Sun Aug 27 11:01:28 2006 -0700 |
tree | 54ba738524292b9f54404ba97029727b05e7a04f | |
parent | 66a377c5041e1e399633153c8b500d457281e7c1 [diff] |
[PATCH] drivers/rtc: fix rtc-s3c.c In the cleanups of drivers/rtc/s3c-rtc.c, the base address for the registers got broken. This patch fixes that by ensuring the readb/writeb are all prefixed with the base returned from ioremap()ing the registers. Also fix check for valid year range, which was the wrong way around. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>