[U-Boot] [PATCH 2/5] arm: remove prototype for reset_timer_masked
Patrick Delaunay
patrick.delaunay at st.com
Fri Oct 5 09:33:50 UTC 2018
Remove prototype for function only used in one file
Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
---
arch/arm/cpu/armv7/s5p-common/timer.c | 3 ++-
arch/arm/include/asm/u-boot-arm.h | 1 -
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/cpu/armv7/s5p-common/timer.c b/arch/arm/cpu/armv7/s5p-common/timer.c
index b37892c..0048cd8 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();
diff --git a/arch/arm/include/asm/u-boot-arm.h b/arch/arm/include/asm/u-boot-arm.h
index e08435a..f1da115 100644
--- a/arch/arm/include/asm/u-boot-arm.h
+++ b/arch/arm/include/asm/u-boot-arm.h
@@ -39,7 +39,6 @@ int arch_early_init_r(void);
int board_init(void);
/* cpu/.../interrupt.c */
-void reset_timer_masked (void);
ulong get_timer_masked (void);
void udelay_masked (unsigned long usec);
--
2.7.4
More information about the U-Boot
mailing list