lkml.org 
[lkml]   [2019]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] arm: arch_timer: add missing include <asm/arch_timer.h>
Date
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@outlook.de>
---
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
\
 
 \ /
  Last update: 2019-05-21 17:57    [W:0.045 / U:2.888 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site