[U-Boot] [PATCH 19/20] psci: Fix warnings when compiling with W=1
Patrick DELAUNAY
patrick.delaunay at st.com
Fri Jul 12 14:03:07 UTC 2019
Hi,
> From: Patrick DELAUNAY <patrick.delaunay at st.com>
> Sent: vendredi 21 juin 2019 15:27
>
> This patch solves the following warnings:
> arch/arm/mach-stm32mp/psci.c:
>
> warning: no previous prototype for ‘psci_set_state’ [-Wmissing-prototypes]
> warning: no previous prototype for ‘psci_arch_cpu_entry’ [-Wmissing-prototypes]
> warning: no previous prototype for ‘psci_features’ [-Wmissing-prototypes]
> warning: no previous prototype for ‘psci_version’ [-Wmissing-prototypes]
> warning: no previous prototype for ‘psci_affinity_info’ [-Wmissing-prototypes]
> warning: no previous prototype for ‘psci_migrate_info_type’ [-Wmissing-
> prototypes]
> warning: no previous prototype for ‘psci_cpu_on’ [-Wmissing-prototypes]
> warning: no previous prototype for ‘psci_cpu_off’ [-Wmissing-prototypes]
> warning: no previous prototype for ‘psci_system_reset’ [-Wmissing-prototypes]
> warning: no previous prototype for ‘psci_system_off’ [-Wmissing-prototypes]
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
> ---
>
> arch/arm/include/asm/system.h | 14 ++++++++++++++
> arch/arm/mach-imx/mx7/psci-mx7.c | 2 +-
> arch/arm/mach-stm32mp/psci.c | 18 +++++++++---------
> arch/arm/mach-uniphier/arm32/psci.c | 4 ++--
> 4 files changed, 26 insertions(+), 12 deletions(-)
>
Applied to u-boot-stm32/master, thanks!
Patrick
More information about the U-Boot
mailing list