From 28ba1400216d7c7195929d1bd53f059a440a89a2 Mon Sep 17 00:00:00 2001 From: Rajan Vaja Date: Wed, 31 Aug 2022 12:54:38 +0200 Subject: [PATCH] fix(xilinx): include missing header pm_ipi.h needs some definitions from stddef.h so include it. Currently it is working because required file is included indirectly due to other includes. Signed-off-by: Rajan Vaja Signed-off-by: Michal Simek Change-Id: Ic4a6c469c3152e21eaeb365ba96f3a29f14593bf --- plat/xilinx/common/include/pm_ipi.h | 3 +++ plat/xilinx/common/pm_service/pm_ipi.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/plat/xilinx/common/include/pm_ipi.h b/plat/xilinx/common/include/pm_ipi.h index 2d20b9f25..8a1566873 100644 --- a/plat/xilinx/common/include/pm_ipi.h +++ b/plat/xilinx/common/include/pm_ipi.h @@ -1,5 +1,7 @@ /* * Copyright (c) 2013-2020, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2020-2022, Xilinx, Inc. All rights reserved. + * Copyright (c) 2022, Advanced Micro Devices, Inc. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -8,6 +10,7 @@ #define PM_IPI_H #include +#include #include "pm_common.h" #define IPI_BLOCKING 1 diff --git a/plat/xilinx/common/pm_service/pm_ipi.c b/plat/xilinx/common/pm_service/pm_ipi.c index 12313f269..9c9fd623e 100644 --- a/plat/xilinx/common/pm_service/pm_ipi.c +++ b/plat/xilinx/common/pm_service/pm_ipi.c @@ -1,5 +1,7 @@ /* * Copyright (c) 2013-2020, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2019-2022, Xilinx, Inc. All rights reserved. + * Copyright (c) 2022, Advanced Micro Devices, Inc. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -13,6 +15,7 @@ #include #include +#include "pm_defs.h" #include "pm_ipi.h" #define ERROR_CODE_MASK 0xFFFFU -- 2.39.5