diff options
Diffstat (limited to 'drivers/rtc/rtc-s3c.c')
-rw-r--r-- | drivers/rtc/rtc-s3c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-s3c.c b/drivers/rtc/rtc-s3c.c index 77823d21d314..a7a2a998fa91 100644 --- a/drivers/rtc/rtc-s3c.c +++ b/drivers/rtc/rtc-s3c.c | |||
@@ -186,7 +186,7 @@ static int s3c_rtc_gettime(struct device *dev, struct rtc_time *rtc_tm) | |||
186 | rtc_tm->tm_year = readb(base + S3C2410_RTCYEAR); | 186 | rtc_tm->tm_year = readb(base + S3C2410_RTCYEAR); |
187 | rtc_tm->tm_sec = readb(base + S3C2410_RTCSEC); | 187 | rtc_tm->tm_sec = readb(base + S3C2410_RTCSEC); |
188 | 188 | ||
189 | /* the only way to work out wether the system was mid-update | 189 | /* the only way to work out whether the system was mid-update |
190 | * when we read it is to check the second counter, and if it | 190 | * when we read it is to check the second counter, and if it |
191 | * is zero, then we re-try the entire read | 191 | * is zero, then we re-try the entire read |
192 | */ | 192 | */ |