aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>2019-01-11 13:12:58 +0000
committerSandrine Bailleux <sandrine.bailleux@arm.com>2019-01-25 08:23:20 +0000
commit09a00ef98c6108fec75dafcc7dbdddacb2ee2e91 (patch)
tree77b585708a4fd850f0dac3a3f0fcaf34576fa8c9 /include
parent9e550b6f75f064b53d74a4ad3c8672332d87451c (diff)
downloadtf-a-tests-09a00ef98c6108fec75dafcc7dbdddacb2ee2e91.tar.gz
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 'include')
-rw-r--r--include/drivers/arm/sp804.h2
-rw-r--r--include/drivers/arm/system_timer.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/drivers/arm/sp804.h b/include/drivers/arm/sp804.h
index 7ca556762..004fb7697 100644
--- a/include/drivers/arm/sp804.h
+++ b/include/drivers/arm/sp804.h
@@ -7,6 +7,8 @@
#ifndef __SP804_H__
#define __SP804_H__
+#include <stdint.h>
+
#define SP804_LOAD_OFFSET 0x0
#define SP804_CURRENT_VALUE_OFFSET 0x4
#define SP804_CTRL_OFFSET 0x8
diff --git a/include/drivers/arm/system_timer.h b/include/drivers/arm/system_timer.h
index 8cd0c8e69..3bb5dface 100644
--- a/include/drivers/arm/system_timer.h
+++ b/include/drivers/arm/system_timer.h
@@ -7,6 +7,8 @@
#ifndef __SYSTEM_TIMER_H__
#define __SYSTEM_TIMER_H__
+#include <stdint.h>
+
/*
* Program systimer to fire an interrupt after time_out_ms
*