projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'linus' into sched/core
[firefly-linux-kernel-4.4.55.git]
/
include
/
linux
/
rtc.h
diff --git
a/include/linux/rtc.h
b/include/linux/rtc.h
index 60f88a7fb13d71ec5abd0f174e6777fc77b0f5b9..14dbc83ded2096cf456f463a4bb01993cd4b5c09 100644
(file)
--- a/
include/linux/rtc.h
+++ b/
include/linux/rtc.h
@@
-238,6
+238,12
@@
static inline bool is_leap_year(unsigned int year)
return (!(year % 4) && (year % 100)) || !(year % 400);
}
+#ifdef CONFIG_RTC_HCTOSYS
+extern int rtc_hctosys_ret;
+#else
+#define rtc_hctosys_ret -ENODEV
+#endif
+
#endif /* __KERNEL__ */
#endif /* _LINUX_RTC_H_ */