aboutsummaryrefslogtreecommitdiffstats
path: root/plat/common
diff options
context:
space:
mode:
authorYann Gautier <yann.gautier@st.com>2018-12-10 10:41:03 +0100
committerYann Gautier <yann.gautier@st.com>2018-12-10 18:09:49 +0100
commit1b18c6c47185fd83682c77de510c43d8d5d200df (patch)
tree7d5d3b7f68e2c5653e0c73e1a90c71667828af48 /plat/common
parentb7c6529c412d53b74e2a1fb6a7b1a70438a02802 (diff)
downloadplatform_external_arm-trusted-firmware-1b18c6c47185fd83682c77de510c43d8d5d200df.tar.gz
platform_external_arm-trusted-firmware-1b18c6c47185fd83682c77de510c43d8d5d200df.tar.bz2
platform_external_arm-trusted-firmware-1b18c6c47185fd83682c77de510c43d8d5d200df.zip
correct some missing-prototype warnings
This avoids the following warnings: no previous prototype for 'bl2_arch_setup' [-Wmissing-prototypes] no previous prototype for 'plat_log_get_prefix' [-Wmissing-prototypes] Also correct a compilation issue if BL2_IN_XIP_MEM is enabled: uintptr_t is not defined. Signed-off-by: Lionel Debieve <lionel.debieve@st.com> Signed-off-by: Yann Gautier <yann.gautier@st.com>
Diffstat (limited to 'plat/common')
-rw-r--r--plat/common/plat_log_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plat/common/plat_log_common.c b/plat/common/plat_log_common.c
index 49e1c152f..c757c6bf1 100644
--- a/plat/common/plat_log_common.c
+++ b/plat/common/plat_log_common.c
@@ -5,6 +5,7 @@
*/
#include <debug.h>
+#include <platform.h>
/* Allow platforms to override the log prefix string */
#pragma weak plat_log_get_prefix