A bunch of PSCI functions are not prefixed with static despite no one is
using them outside the file and the prototype is not available in
psci.h.
Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
return call_smc(PSCI_1_0_FN32_PSCI_FEATURES, psci_func_id, 0, 0);
}
-int __init psci_is_smc_method(const struct dt_device_node *psci)
+static int __init psci_is_smc_method(const struct dt_device_node *psci)
{
int ret;
const char *prop_str;
SMCCC_VERSION_MAJOR(smccc_ver), SMCCC_VERSION_MINOR(smccc_ver));
}
-int __init psci_init_0_1(void)
+static int __init psci_init_0_1(void)
{
int ret;
const struct dt_device_node *psci;
return 0;
}
-int __init psci_init_0_2(void)
+static int __init psci_init_0_2(void)
{
static const struct dt_device_match psci_ids[] __initconst =
{