time: Don't build timekeeping_inject_sleeptime64() if no one uses it
authorXunlei Pang <pang.xunlei@linaro.org>
Thu, 2 Apr 2015 03:34:35 +0000 (20:34 -0700)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Apr 2015 06:18:31 +0000 (08:18 +0200)
commit7f2981393af31a854879f2496cab4c978e886902
tree0bfcf5157863fe669c752e9e98c8d280baa8cf20
parenta5312f56e0a67deed5c7d1191140e00b6d367e01
time: Don't build timekeeping_inject_sleeptime64() if no one uses it

timekeeping_inject_sleeptime64() is only used by RTC
suspend/resume, so add build dependencies on the necessary RTC
related macros.

Signed-off-by: Xunlei Pang <pang.xunlei@linaro.org>
[ Improve commit message clarity. ]
Signed-off-by: John Stultz <john.stultz@linaro.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1427945681-29972-16-git-send-email-john.stultz@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/time/timekeeping.c