From c04d59cf379c679b2272d669ac0b337e407470a8 Mon Sep 17 00:00:00 2001 From: Etienne Carriere Date: Wed, 7 Jun 2017 16:41:50 +0200 Subject: [PATCH] bl1: include bl1_private.h in aarch* files This change avoids warnings when setting -Wmissing-prototypes or when using sparse tool. Signed-off-by: Yann Gautier Signed-off-by: Etienne Carriere --- bl1/aarch32/bl1_arch_setup.c | 1 + bl1/aarch32/bl1_context_mgmt.c | 1 + bl1/aarch64/bl1_arch_setup.c | 1 + bl1/aarch64/bl1_context_mgmt.c | 1 + 4 files changed, 4 insertions(+) diff --git a/bl1/aarch32/bl1_arch_setup.c b/bl1/aarch32/bl1_arch_setup.c index 23a65648a..ce04aaabe 100644 --- a/bl1/aarch32/bl1_arch_setup.c +++ b/bl1/aarch32/bl1_arch_setup.c @@ -4,6 +4,7 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "../bl1_private.h" /******************************************************************************* * TODO: Function that does the first bit of architectural setup. diff --git a/bl1/aarch32/bl1_context_mgmt.c b/bl1/aarch32/bl1_context_mgmt.c index 10c90f9c3..6623dfc49 100644 --- a/bl1/aarch32/bl1_context_mgmt.c +++ b/bl1/aarch32/bl1_context_mgmt.c @@ -11,6 +11,7 @@ #include #include #include +#include "../bl1_private.h" /* * Following arrays will be used for context management. diff --git a/bl1/aarch64/bl1_arch_setup.c b/bl1/aarch64/bl1_arch_setup.c index a7a45225f..624bd80f2 100644 --- a/bl1/aarch64/bl1_arch_setup.c +++ b/bl1/aarch64/bl1_arch_setup.c @@ -6,6 +6,7 @@ #include #include +#include "../bl1_private.h" /******************************************************************************* * Function that does the first bit of architectural setup that affects diff --git a/bl1/aarch64/bl1_context_mgmt.c b/bl1/aarch64/bl1_context_mgmt.c index 2c7fe0705..b9304dcf5 100644 --- a/bl1/aarch64/bl1_context_mgmt.c +++ b/bl1/aarch64/bl1_context_mgmt.c @@ -10,6 +10,7 @@ #include #include #include +#include "../bl1_private.h" /* * Following array will be used for context management.