From de61bb8bc487c2dc09577337b4dc80e954d1de32 Mon Sep 17 00:00:00 2001 From: Liam Girdwood Date: Wed, 30 Aug 2023 16:11:27 -0700 Subject: [PATCH] ipc4: Add preprocessor directive Fix the base_fw.h file to add the missing preprocessor directive. Signed-off-by: Liam Girdwood Signed-off-by: Ranjani Sridharan --- src/include/ipc4/base_fw.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/include/ipc4/base_fw.h b/src/include/ipc4/base_fw.h index bd049fdded8c..3c4a953405e2 100644 --- a/src/include/ipc4/base_fw.h +++ b/src/include/ipc4/base_fw.h @@ -4,15 +4,8 @@ */ /* - * This file contains structures that are exact copies of an existing ABI used - * by IOT middleware. They are Intel specific and will be used by one middleware. - * * Some of the structures may contain programming implementations that makes them * unsuitable for generic use and general usage. - * - * This code is mostly copied "as-is" from existing C++ interface files hence the use of - * different style in places. The intention is to keep the interface as close as possible to - * original so it's easier to track changes with IPC host code. */ /** @@ -21,6 +14,9 @@ * NOTE: This ABI uses bit fields and is non portable. */ +#ifndef __SOF_IPC4_BASE_FW_H__ +#define __SOF_IPC4_BASE_FW_H__ + /* Three clk src states :low power XTAL, low power ring * and high power ring oscillator */ @@ -666,3 +662,5 @@ enum ipc4_power_state_type { IPC4_ACTIVE_CORES_MASK = 0, IPC4_CORE_KCPS = 1, }; + +#endif /* __SOF_IPC4_BASE_FW_H__ */