summaryrefslogtreecommitdiff
path: root/services/std_svc/psci
diff options
context:
space:
mode:
Diffstat (limited to 'services/std_svc/psci')
-rw-r--r--services/std_svc/psci/psci_afflvl_suspend.c4
-rw-r--r--services/std_svc/psci/psci_common.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/services/std_svc/psci/psci_afflvl_suspend.c b/services/std_svc/psci/psci_afflvl_suspend.c
index dad0cefd..76e8c908 100644
--- a/services/std_svc/psci/psci_afflvl_suspend.c
+++ b/services/std_svc/psci/psci_afflvl_suspend.c
@@ -58,7 +58,7 @@ void psci_set_suspend_power_state(unsigned int power_state)
* powered down during a cpu_suspend call. Returns PSCI_INVALID_DATA if the
* power state is invalid.
******************************************************************************/
-int psci_get_suspend_afflvl()
+int psci_get_suspend_afflvl(void)
{
unsigned int power_state;
@@ -73,7 +73,7 @@ int psci_get_suspend_afflvl()
* parameter saved in the per-cpu data array. Returns PSCI_INVALID_DATA if the
* power state saved is invalid.
******************************************************************************/
-int psci_get_suspend_stateid()
+int psci_get_suspend_stateid(void)
{
unsigned int power_state;
diff --git a/services/std_svc/psci/psci_common.c b/services/std_svc/psci/psci_common.c
index 7ab607db..237cf1e9 100644
--- a/services/std_svc/psci/psci_common.c
+++ b/services/std_svc/psci/psci_common.c
@@ -133,7 +133,7 @@ uint32_t psci_get_max_phys_off_afflvl(void)
* been physically powered up. It is expected to be called immediately after
* reset from assembler code.
******************************************************************************/
-int get_power_on_target_afflvl()
+int get_power_on_target_afflvl(void)
{
int afflvl;