summaryrefslogtreecommitdiff
path: root/include/linux/time.h
diff options
context:
space:
mode:
authorJon Hunter <jon-hunter@ti.com>2013-04-01 13:47:29 -0500
committerJon Hunter <jon-hunter@ti.com>2013-04-01 13:47:29 -0500
commit2d61aecee8f32259920cdf90a452fa26ffc64e9f (patch)
tree2311b6b4c12b946164e8cfb3422cebdfecf08f37 /include/linux/time.h
parent71856843fb1d8ee455a4c1a60696c74afa4809e5 (diff)
parent6bb27d7349db51b50c40534710fe164ca0d58902 (diff)
Merge commit '6bb27d7349db51b50c40534710fe164ca0d58902' into omap-timer-for-v3.10
Diffstat (limited to 'include/linux/time.h')
-rw-r--r--include/linux/time.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/time.h b/include/linux/time.h
index 4d358e9d10f1..05e32a72103c 100644
--- a/include/linux/time.h
+++ b/include/linux/time.h
@@ -142,9 +142,7 @@ void timekeeping_inject_sleeptime(struct timespec *delta);
* finer then tick granular time.
*/
#ifdef CONFIG_ARCH_USES_GETTIMEOFFSET
-extern u32 arch_gettimeoffset(void);
-#else
-static inline u32 arch_gettimeoffset(void) { return 0; }
+extern u32 (*arch_gettimeoffset)(void);
#endif
extern void do_gettimeofday(struct timeval *tv);