summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2018-10-05 12:33:50 +0300
committerTom Rini <trini@konsulko.com>2018-10-10 20:35:09 +0300
commitaad5b4a351c79a77f2e7c4188e37e3eddc80a4b2 (patch)
treeac95605b365e9270180f38ea35a39cafb35e8d79 /arch/arm/cpu/armv7
parent1c8e9fae16dc363f90a474e7f0b68d90a213034f (diff)
downloadu-boot-aad5b4a351c79a77f2e7c4188e37e3eddc80a4b2.tar.xz
arm: remove prototype for reset_timer_masked
Remove prototype for function only used in one file Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'arch/arm/cpu/armv7')
-rw-r--r--arch/arm/cpu/armv7/s5p-common/timer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/s5p-common/timer.c b/arch/arm/cpu/armv7/s5p-common/timer.c
index b37892c0a2..0048cd8067 100644
--- a/arch/arm/cpu/armv7/s5p-common/timer.c
+++ b/arch/arm/cpu/armv7/s5p-common/timer.c
@@ -19,6 +19,7 @@
DECLARE_GLOBAL_DATA_PTR;
unsigned long get_current_tick(void);
+static void reset_timer_masked(void);
/* macro to read the 16 bit timer */
static inline struct s5p_timer *s5p_get_base_timer(void)
@@ -106,7 +107,7 @@ void __udelay(unsigned long usec)
;
}
-void reset_timer_masked(void)
+static void reset_timer_masked(void)
{
struct s5p_timer *const timer = s5p_get_base_timer();