diff options
author | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2019-01-11 13:12:58 +0000 |
---|---|---|
committer | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2019-01-25 08:23:20 +0000 |
commit | 09a00ef98c6108fec75dafcc7dbdddacb2ee2e91 (patch) | |
tree | 77b585708a4fd850f0dac3a3f0fcaf34576fa8c9 /plat/arm/fvp | |
parent | 9e550b6f75f064b53d74a4ad3c8672332d87451c (diff) |
Sanitise includes of include/drivers across codebase
Enforce full include path for includes.
The reason for this change is that having a global namespace for
includes isn't a good idea. It defeats one of the advantages of having
folders and it introduces problems that are sometimes subtle (because
you may not know the header you are actually including if there are two
of them with the same name).
Change-Id: I45e912b16c9fff81f50840dad7e7f90ed6637b2a
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'plat/arm/fvp')
-rw-r--r-- | plat/arm/fvp/aarch32/plat_helpers.S | 2 | ||||
-rw-r--r-- | plat/arm/fvp/aarch64/plat_helpers.S | 2 | ||||
-rw-r--r-- | plat/arm/fvp/plat_setup.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/plat/arm/fvp/aarch32/plat_helpers.S b/plat/arm/fvp/aarch32/plat_helpers.S index 1d923ad..5865aaa 100644 --- a/plat/arm/fvp/aarch32/plat_helpers.S +++ b/plat/arm/fvp/aarch32/plat_helpers.S @@ -6,7 +6,7 @@ #include <arch.h> #include <asm_macros.S> -#include <pl011.h> +#include <drivers/arm/pl011.h> #include "../fvp_def.h" .globl platform_get_core_pos diff --git a/plat/arm/fvp/aarch64/plat_helpers.S b/plat/arm/fvp/aarch64/plat_helpers.S index 4bd9f3d..18cbbd4 100644 --- a/plat/arm/fvp/aarch64/plat_helpers.S +++ b/plat/arm/fvp/aarch64/plat_helpers.S @@ -6,7 +6,7 @@ #include <arch.h> #include <asm_macros.S> -#include <pl011.h> +#include <drivers/arm/pl011.h> #include "../fvp_def.h" .globl platform_get_core_pos diff --git a/plat/arm/fvp/plat_setup.c b/plat/arm/fvp/plat_setup.c index 0d81686..fa97814 100644 --- a/plat/arm/fvp/plat_setup.c +++ b/plat/arm/fvp/plat_setup.c @@ -4,7 +4,7 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include <arm_gic.h> +#include <drivers/arm/arm_gic.h> #include <plat_arm.h> #include <platform.h> |