summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2014-07-30 00:10:22 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2014-08-02 06:45:43 +0200
commit287e085fa9e7430564f9ffe9b70c9e77d420052e (patch)
tree55a268603739c9a24ff299e7568c5e4c6b13f65e /include
parente1af262100c45ec4e02113453c29eab3bd32ce26 (diff)
downloadbarebox-287e085fa9e7430564f9ffe9b70c9e77d420052e.tar.gz
barebox-287e085fa9e7430564f9ffe9b70c9e77d420052e.tar.xz
rtc-lib: import rtc_time_to_tm() from linux-3.15
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/rtc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/rtc.h b/include/linux/rtc.h
index 2e034f6da0..2dacb14239 100644
--- a/include/linux/rtc.h
+++ b/include/linux/rtc.h
@@ -17,6 +17,7 @@
extern int rtc_month_days(unsigned int month, unsigned int year);
extern int rtc_valid_tm(struct rtc_time *tm);
extern int rtc_tm_to_time(struct rtc_time *tm, unsigned long *time);
+extern void rtc_time_to_tm(unsigned long time, struct rtc_time *tm);
struct rtc_class_ops;