diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-11-19 15:54:50 +0000 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2008-11-19 15:54:50 +0000 |
commit | 0fc24c1ebff281406d66840cbaa6d303bc2cae24 (patch) | |
tree | b3cacbb64fa31671d2f6241f38b5dd31db4a643a /drivers/rtc/interface.c | |
parent | b9914406fb128bee01b2a23a35eafbc83ff915f0 (diff) | |
parent | 18aa04d882fe72eb59ea2c9e3f78400d85b6535f (diff) |
Merge branch 'rmk-next' into s3c64xx
Diffstat (limited to 'drivers/rtc/interface.c')
-rw-r--r-- | drivers/rtc/interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/interface.c b/drivers/rtc/interface.c index 7af60b98d8a..a04c1b6b157 100644 --- a/drivers/rtc/interface.c +++ b/drivers/rtc/interface.c @@ -271,7 +271,7 @@ int rtc_read_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm) dev_dbg(&rtc->dev, "alarm rollover: %s\n", "year"); do { alarm->time.tm_year++; - } while (!rtc_valid_tm(&alarm->time)); + } while (rtc_valid_tm(&alarm->time) != 0); break; default: |