Skip to content

Commit

Permalink
ARM: 8913/1: arch_timer: include <asm/arch_timer.h>
Browse files Browse the repository at this point in the history
The arch_timer_arch_init is defined in <asm/arch_timer.h> so include
that to fix the following sparse error:

arch/arm/kernel/arch_timer.c:31:12: warning: symbol 'arch_timer_arch_init' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
  • Loading branch information
Ben Dooks authored and Russell King committed Oct 27, 2019
1 parent e3c5b36 commit 05b1fd8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/kernel/arch_timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <linux/errno.h>

#include <asm/delay.h>
#include <asm/arch_timer.h>

#include <clocksource/arm_arch_timer.h>

Expand Down

0 comments on commit 05b1fd8

Please sign in to comment.