diff mbox series

arm: highbank: add missing include "core.h"

Message ID VI1PR07MB443237D908B62034AD42B47CFD000@VI1PR07MB4432.eurprd07.prod.outlook.com (mailing list archive)
State New, archived
Headers show
Series arm: highbank: add missing include "core.h" | expand

Commit Message

Philippe Mazenauer May 22, 2019, 9:54 a.m. UTC
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 mbox series

Patch

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) | \