ARM: highbank: add missing include
authorArnd Bergmann <arnd@arndb.de>
Tue, 16 May 2023 15:30:59 +0000 (17:30 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 26 May 2023 11:31:37 +0000 (13:31 +0200)
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>
arch/arm/mach-highbank/pm.c

index 561941baeda961c6e6f96bdb6e2c81e8ed69ec3b..3fdbdb83113b5ed45fc1e48cd058c37a9e312a32 100644 (file)
@@ -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) | \