summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-lib.c
diff options
context:
space:
mode:
authorBarry Song <Barry.Song@csr.com>2011-10-24 02:40:40 -0700
committerBarry Song <Barry.Song@csr.com>2011-10-24 02:45:43 -0700
commit1e11bec9b09a28f81dd3173fec6b1c6c56b5e299 (patch)
treecddb92f82bda3a5f362bb6d9f775d25dd1205e6b /drivers/rtc/rtc-lib.c
parent2558bd99cb1426a05ac8f1c78dc9c75a83ceb4bb (diff)
parent91c2ebb90b1890abc648ba9dec5608cbc97e1cb9 (diff)
Merge branch 'l2x0' of rmk tree into prima2-l2x0
Diffstat (limited to 'drivers/rtc/rtc-lib.c')
-rw-r--r--drivers/rtc/rtc-lib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-lib.c b/drivers/rtc/rtc-lib.c
index 075f1708dea..c4cf0573111 100644
--- a/drivers/rtc/rtc-lib.c
+++ b/drivers/rtc/rtc-lib.c
@@ -85,6 +85,8 @@ void rtc_time_to_tm(unsigned long time, struct rtc_time *tm)
time -= tm->tm_hour * 3600;
tm->tm_min = time / 60;
tm->tm_sec = time - tm->tm_min * 60;
+
+ tm->tm_isdst = 0;
}
EXPORT_SYMBOL(rtc_time_to_tm);