Skip to content

Commit

Permalink
arm: arch_timer: add missing inline in stub function
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
olofj committed Feb 11, 2013
1 parent d24e638 commit 0582b05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/clocksource/arm_arch_timer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 0582b05

Please sign in to comment.