summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2013-02-11 15:15:53 -0800
committerOlof Johansson <olof@lixom.net>2013-02-11 15:16:05 -0800
commit0582b05366f39ea1024450f18cc801c7f42bbbbb (patch)
treecd8dee7423eb78ced8a1943ae8a7e9a54888ca82
parentd24e638eb0d0cdc38bd8a2b04c83d21fc5afd1c4 (diff)
downloadlinux-stable-0582b05366f39ea1024450f18cc801c7f42bbbbb.tar.gz
linux-stable-0582b05366f39ea1024450f18cc801c7f42bbbbb.tar.bz2
linux-stable-0582b05366f39ea1024450f18cc801c7f42bbbbb.zip
arm: arch_timer: add missing inline in stub function
Fixes: In file included from arch/arm/include/asm/arch_timer.h:10:0, from arch/arm/mach-shmobile/timer.c:23: include/clocksource/arm_arch_timer.h:56:28: warning: 'arch_timer_get_timecounter' defined but not used [-Wunused-function] Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r--include/clocksource/arm_arch_timer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clocksource/arm_arch_timer.h b/include/clocksource/arm_arch_timer.h
index b61f9961b0cc..2603267b1a29 100644
--- a/include/clocksource/arm_arch_timer.h
+++ b/include/clocksource/arm_arch_timer.h
@@ -53,7 +53,7 @@ static inline u64 arch_timer_read_counter(void)
return 0;
}
-static struct timecounter *arch_timer_get_timecounter(void)
+static inline struct timecounter *arch_timer_get_timecounter(void)
{
return NULL;
}