summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBitan Biswas <bbiswas@nvidia.com>2014-05-23 00:14:47 +0530
committerRiham Haidar <rhaidar@nvidia.com>2014-05-27 14:23:03 -0700
commite1470d63d7f3faa76bc85e8c55822e5835f8f9a7 (patch)
treebaf563e9563efef973ef394fe7857b7cebc60f0d /include
parent37b02dab58ad9bd04ba4e898929333f72aa9ed4d (diff)
time: tegra: post-lp0 sync system to rtc time
Ensure system time is read from rtc i.e. PMIC RTC in case of tegra after system resume. - Change is applicable to all PMIC RTC drivers. bug 1510843 Reviewed-on: http://git-master/r/413365/ Reviewed-on: http://git-master/r/414163/ Reviewed-on: http://git-master/r/414169/ Reviewed-on: http://git-master/r/414200/ Reviewed-on: http://git-master/r/414201/ Change-Id: I8194f9f4be581216d662e6a6e0d7e98a9495159c Signed-off-by: Bitan Biswas <bbiswas@nvidia.com> Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/414203 GVS: Gerrit_Virtual_Submit
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 c2c28975293c..b608a6f392e1 100644
--- a/include/linux/rtc.h
+++ b/include/linux/rtc.h
@@ -193,6 +193,7 @@ static inline bool is_leap_year(unsigned int year)
#ifdef CONFIG_RTC_HCTOSYS_DEVICE
extern int rtc_hctosys_ret;
+int rtc_hctosys(void);
#else
#define rtc_hctosys_ret -ENODEV
#endif