psci: Fix warnings when compiling with W=1
authorPatrick Delaunay <patrick.delaunay@st.com>
Mon, 22 Jul 2019 12:19:20 +0000 (14:19 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 24 Jul 2019 18:15:38 +0000 (14:15 -0400)
commite21e3ffdd18b88a12d98f6ae985fd5d334b9cec9
treebbe3357bde98cc042d28bbe41a72f51fbd151d21
parentf0ebcf8c17c086cfc96914ee2e6c5210ab4551d5
psci: Fix warnings when compiling with W=1

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@st.com>
arch/arm/cpu/armv7/sunxi/psci.c
arch/arm/include/asm/system.h
arch/arm/mach-imx/mx7/psci-mx7.c
arch/arm/mach-stm32mp/psci.c
arch/arm/mach-uniphier/arm32/psci.c