diff options
author | Isla Mitchell <isla.mitchell@arm.com> | 2017-07-11 14:54:08 +0100 |
---|---|---|
committer | Isla Mitchell <isla.mitchell@arm.com> | 2017-07-12 14:45:31 +0100 |
commit | 2a4b4b71ba8a14148708719077d80889faa6f47b (patch) | |
tree | a6c11e34542ef63da6276bacc68590e765fdeaae /lib/psci | |
parent | ca5ba394cab0c4e7c5621a50a7bd270cb64cec97 (diff) | |
download | arm-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.c | 2 | ||||
-rw-r--r-- | lib/psci/psci_suspend.c | 4 | ||||
-rw-r--r-- | lib/psci/psci_system_off.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/psci/psci_on.c b/lib/psci/psci_on.c index d5c9843a4..16b22c2ab 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 479889262..0d1589ee0 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 4a55248db..ef5d3d1d6 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) |