summaryrefslogtreecommitdiff
path: root/kernel/time/ntp.c
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-09-30 18:11:18 +0100
committerMark Brown <broonie@linaro.org>2013-09-30 18:11:18 +0100
commitf004eaf4d17d205842424a7e95dcff9a46fe3c5f (patch)
treefbf213d7b933b4f58b031269a2a31b275c95be6c /kernel/time/ntp.c
parentabf92a3d2e868fef808d4a205371b7e5417dd0f7 (diff)
parent937433c2502f663e5a0e8804462bc38c41b9021f (diff)
Merge remote-tracking branch 'regulator/topic/da9210' into regulator-devm
Diffstat (limited to 'kernel/time/ntp.c')
-rw-r--r--kernel/time/ntp.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/kernel/time/ntp.c b/kernel/time/ntp.c
index 8f5b3b98577b..bb2215174f05 100644
--- a/kernel/time/ntp.c
+++ b/kernel/time/ntp.c
@@ -516,13 +516,13 @@ static void sync_cmos_clock(struct work_struct *work)
schedule_delayed_work(&sync_cmos_work, timespec_to_jiffies(&next));
}
-static void notify_cmos_timer(void)
+void ntp_notify_cmos_timer(void)
{
schedule_delayed_work(&sync_cmos_work, 0);
}
#else
-static inline void notify_cmos_timer(void) { }
+void ntp_notify_cmos_timer(void) { }
#endif
@@ -687,8 +687,6 @@ int __do_adjtimex(struct timex *txc, struct timespec *ts, s32 *time_tai)
if (!(time_status & STA_NANO))
txc->time.tv_usec /= NSEC_PER_USEC;
- notify_cmos_timer();
-
return result;
}