arm: arch_timer: add missing inline in stub function
authorOlof Johansson <olof@lixom.net>
Mon, 11 Feb 2013 23:15:53 +0000 (15:15 -0800)
committerOlof Johansson <olof@lixom.net>
Mon, 11 Feb 2013 23:16:05 +0000 (15:16 -0800)
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>
include/clocksource/arm_arch_timer.h

index b61f9961b0cc1e377f5d079899ba3d97f89d1468..2603267b1a29282f10ef96a2203654fc44b75b98 100644 (file)
@@ -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;
 }