[PATCH] arm: arch_timer: add missing include <asm/arch_timer.h>

From: Philippe Mazenauer
Date: Wed May 22 2019 - 05:55:27 EST


Include corresponing header file <asm/arch_timer.h> for function
arch_timer_arch_init().

../arch/arm/kernel/arch_timer.c:34:12: warning: no previous prototype for âarch_timer_arch_initâ [-Wmissing-prototypes]
int __init arch_timer_arch_init(void)
^~~~~~~~~~~~~~~~~~~~

Signed-off-by: Philippe Mazenauer <philippe.mazenauer@xxxxxxxxxx>
---
arch/arm/kernel/arch_timer.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm/kernel/arch_timer.c b/arch/arm/kernel/arch_timer.c
index 1791f12c180b..f9e7f5b4b175 100644
--- a/arch/arm/kernel/arch_timer.c
+++ b/arch/arm/kernel/arch_timer.c
@@ -13,6 +13,7 @@
#include <linux/errno.h>

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

#include <clocksource/arm_arch_timer.h>

--
2.17.1