[PATCH] arm: highbank: add missing include "core.h"
From: Philippe Mazenauer
Date: Wed May 22 2019 - 05:57:39 EST
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@xxxxxxxxxx>
---
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