summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-highbank
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2023-05-16 17:30:59 +0200
committerArnd Bergmann <arnd@arndb.de>2023-05-26 13:31:37 +0200
commit774f60dd6abc85ba01f4969a091991c089d22ed0 (patch)
tree0f46e7e0d0077708688609ba39802ed1a627f064 /arch/arm/mach-highbank
parentARM: ep93xx: fix missing-prototype warnings (diff)
downloadlinux-774f60dd6abc85ba01f4969a091991c089d22ed0.tar.xz
linux-774f60dd6abc85ba01f4969a091991c089d22ed0.zip
ARM: highbank: add missing include
highbank_pm_init() is declared in core.h this is not included in the file that defines it. arch/arm/mach-highbank/pm.c:43:13: error: no previous prototype for 'highbank_pm_init' Acked-by: Andre Przywara <andre.przywara@arm.com> Link: https://lore.kernel.org/r/20230516153109.514251-4-arnd@kernel.org Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-highbank')
-rw-r--r--arch/arm/mach-highbank/pm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-highbank/pm.c b/arch/arm/mach-highbank/pm.c
index 561941baeda9..3fdbdb83113b 100644
--- a/arch/arm/mach-highbank/pm.c
+++ b/arch/arm/mach-highbank/pm.c
@@ -12,6 +12,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) | \