From: Olof Johansson Date: Mon, 11 Feb 2013 23:15:53 +0000 (-0800) Subject: arm: arch_timer: add missing inline in stub function X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0582b05366f39ea1024450f18cc801c7f42bbbbb;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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; }