[<prev] [next>] [day] [month] [year] [list]
Message-ID: <VI1PR07MB443237D908B62034AD42B47CFD000@VI1PR07MB4432.eurprd07.prod.outlook.com>
Date: Wed, 22 May 2019 09:54:56 +0000
From: Philippe Mazenauer <philippe.mazenauer@...look.de>
To: unlisted-recipients:; (no To-header on input)
CC: Philippe Mazenauer <philippe.mazenauer@...look.de>,
Rob Herring <robh@...nel.org>,
Russell King <linux@...linux.org.uk>,
"moderated list:ARM SUB-ARCHITECTURES"
<linux-arm-kernel@...ts.infradead.org>,
open list <linux-kernel@...r.kernel.org>
Subject: [PATCH] arm: highbank: add missing include "core.h"
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@...look.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
Powered by blists - more mailing lists