From: Ben Dooks Date: Sun, 27 Aug 2006 08:23:22 +0000 (-0700) Subject: [PATCH] drivers/rtc: fix rtc-s3c.c X-Git-Tag: v2.6.18-rc5~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a654518e1b774b8e8f74a819fd12a931e7672c9;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed