All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm: highbank: add missing include "core.h"
@ 2019-05-22  9:54 ` Philippe Mazenauer
  0 siblings, 0 replies; 2+ messages in thread
From: Philippe Mazenauer @ 2019-05-22  9:54 UTC (permalink / raw)
  Cc: Philippe Mazenauer, Rob Herring, Russell King,
	moderated list:ARM SUB-ARCHITECTURES, open list

Include corresponding header file "core.h" for function
highbank_pm_init().

../arch/arm/mach-highbank/pm.c:54:13: warning: no previous prototype for ‘highbank_pm_init’ [-Wmissing-prototypes]
 void __init highbank_pm_init(void)
             ^~~~~~~~~~~~~~~~

Signed-off-by: Philippe Mazenauer <philippe.mazenauer@outlook.de>
---
 arch/arm/mach-highbank/pm.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/mach-highbank/pm.c b/arch/arm/mach-highbank/pm.c
index 400311695548..3580dde7c3da 100644
--- a/arch/arm/mach-highbank/pm.c
+++ b/arch/arm/mach-highbank/pm.c
@@ -23,6 +23,8 @@
 
 #include <uapi/linux/psci.h>
 
+#include "core.h"
+
 #define HIGHBANK_SUSPEND_PARAM \
 	((0 << PSCI_0_2_POWER_STATE_ID_SHIFT) | \
 	 (1 << PSCI_0_2_POWER_STATE_AFFL_SHIFT) | \
-- 
2.17.1


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

* [PATCH] arm: highbank: add missing include "core.h"
@ 2019-05-22  9:54 ` Philippe Mazenauer
  0 siblings, 0 replies; 2+ messages in thread
From: Philippe Mazenauer @ 2019-05-22  9:54 UTC (permalink / raw)
  Cc: Rob Herring, Philippe Mazenauer, Russell King,
	moderated list:ARM SUB-ARCHITECTURES, open list

Include corresponding header file "core.h" for function
highbank_pm_init().

../arch/arm/mach-highbank/pm.c:54:13: warning: no previous prototype for ‘highbank_pm_init’ [-Wmissing-prototypes]
 void __init highbank_pm_init(void)
             ^~~~~~~~~~~~~~~~

Signed-off-by: Philippe Mazenauer <philippe.mazenauer@outlook.de>
---
 arch/arm/mach-highbank/pm.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/mach-highbank/pm.c b/arch/arm/mach-highbank/pm.c
index 400311695548..3580dde7c3da 100644
--- a/arch/arm/mach-highbank/pm.c
+++ b/arch/arm/mach-highbank/pm.c
@@ -23,6 +23,8 @@
 
 #include <uapi/linux/psci.h>
 
+#include "core.h"
+
 #define HIGHBANK_SUSPEND_PARAM \
 	((0 << PSCI_0_2_POWER_STATE_ID_SHIFT) | \
 	 (1 << PSCI_0_2_POWER_STATE_AFFL_SHIFT) | \
-- 
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:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-22  9:54 [PATCH] arm: highbank: add missing include "core.h" Philippe Mazenauer
2019-05-22  9:54 ` Philippe Mazenauer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.