linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm: arch_timer: add missing include <asm/arch_timer.h>
@ 2019-05-21 15:56 Philippe Mazenauer
  0 siblings, 0 replies; 2+ messages in thread
From: Philippe Mazenauer @ 2019-05-21 15:56 UTC (permalink / raw)
  Cc: Philippe Mazenauer, Russell King, moderated list:ARM PORT, open list

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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] arm: arch_timer: add missing include <asm/arch_timer.h>
@ 2019-05-22  9:52 Philippe Mazenauer
  0 siblings, 0 replies; 2+ messages in thread
From: Philippe Mazenauer @ 2019-05-22  9:52 UTC (permalink / raw)
  Cc: Philippe Mazenauer, Russell King, moderated list:ARM PORT, open list

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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-05-22  9:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-21 15:56 [PATCH] arm: arch_timer: add missing include <asm/arch_timer.h> Philippe Mazenauer
2019-05-22  9:52 Philippe Mazenauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).