PSCI: use same function prototype as in header file
authorEtienne Carriere <etienne.carriere@st.com>
Wed, 7 Jun 2017 14:42:42 +0000 (16:42 +0200)
committerEtienne Carriere <etienne.carriere@st.com>
Fri, 23 Jun 2017 07:38:11 +0000 (09:38 +0200)
Signed-off-by: Yann Gautier <yann.gautier@st.com>
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
lib/psci/psci_system_off.c

index f5237919f23df32d23adc9638b3a892ef5bc8ba2..4a55248db86e25e955087373c4239d88fe642379 100644 (file)
@@ -12,7 +12,7 @@
 #include <platform.h>
 #include "psci_private.h"
 
-void psci_system_off(void)
+void __dead2 psci_system_off(void)
 {
        psci_print_power_domain_map();
 
@@ -31,7 +31,7 @@ void psci_system_off(void)
        /* This function does not return. We should never get here */
 }
 
-void psci_system_reset(void)
+void __dead2 psci_system_reset(void)
 {
        psci_print_power_domain_map();