aboutsummaryrefslogtreecommitdiff
path: root/lib/psci
diff options
context:
space:
mode:
authorIsla Mitchell <isla.mitchell@arm.com>2017-07-11 14:54:08 +0100
committerIsla Mitchell <isla.mitchell@arm.com>2017-07-12 14:45:31 +0100
commit2a4b4b71ba8a14148708719077d80889faa6f47b (patch)
treea6c11e34542ef63da6276bacc68590e765fdeaae /lib/psci
parentca5ba394cab0c4e7c5621a50a7bd270cb64cec97 (diff)
downloadarm-trusted-firmware-2a4b4b71ba8a14148708719077d80889faa6f47b.tar.gz
Fix order of #includes
This fix modifies the order of system includes to meet the ARM TF coding standard. There are some exceptions in order to retain header groupings, minimise changes to imported headers, and where there are headers within the #if and #ifndef statements. Change-Id: I65085a142ba6a83792b26efb47df1329153f1624 Signed-off-by: Isla Mitchell <isla.mitchell@arm.com>
Diffstat (limited to 'lib/psci')
-rw-r--r--lib/psci/psci_on.c2
-rw-r--r--lib/psci/psci_suspend.c4
-rw-r--r--lib/psci/psci_system_off.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/psci/psci_on.c b/lib/psci/psci_on.c
index d5c9843a..16b22c2a 100644
--- a/lib/psci/psci_on.c
+++ b/lib/psci/psci_on.c
@@ -8,8 +8,8 @@
#include <arch_helpers.h>
#include <assert.h>
#include <bl_common.h>
-#include <debug.h>
#include <context_mgmt.h>
+#include <debug.h>
#include <platform.h>
#include <stddef.h>
#include "psci_private.h"
diff --git a/lib/psci/psci_suspend.c b/lib/psci/psci_suspend.c
index 47988926..0d1589ee 100644
--- a/lib/psci/psci_suspend.c
+++ b/lib/psci/psci_suspend.c
@@ -4,10 +4,10 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
-#include <assert.h>
-#include <bl_common.h>
#include <arch.h>
#include <arch_helpers.h>
+#include <assert.h>
+#include <bl_common.h>
#include <context.h>
#include <context_mgmt.h>
#include <cpu_data.h>
diff --git a/lib/psci/psci_system_off.c b/lib/psci/psci_system_off.c
index 4a55248d..ef5d3d1d 100644
--- a/lib/psci/psci_system_off.c
+++ b/lib/psci/psci_system_off.c
@@ -4,12 +4,12 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
-#include <stddef.h>
#include <arch_helpers.h>
#include <assert.h>
#include <console.h>
#include <debug.h>
#include <platform.h>
+#include <stddef.h>
#include "psci_private.h"
void __dead2 psci_system_off(void)