diff options
author | Ben Dooks <ben-linux@fluff.org> | 2006-08-27 01:23:22 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-08-27 11:01:28 -0700 |
commit | 9a654518e1b774b8e8f74a819fd12a931e7672c9 (patch) | |
tree | 54ba738524292b9f54404ba97029727b05e7a04f /drivers/rtc/rtc-test.c | |
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>
Diffstat (limited to 'drivers/rtc/rtc-test.c')
0 files changed, 0 insertions, 0 deletions