[PATCH 03/13] ARM: highbank: add missing include
Andre Przywara
andre.przywara at arm.com
Tue May 16 08:58:17 PDT 2023
On Tue, 16 May 2023 17:30:59 +0200
Arnd Bergmann <arnd at kernel.org> wrote:
> From: Arnd Bergmann <arnd at arndb.de>
>
> 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'
>
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
Acked-by: Andre Przywara <andre.przywara at arm.com>
Cheers,
Andre
> ---
> 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 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) | \
More information about the linux-arm-kernel
mailing list