From 00d699d6cb41cb5e175d7ba3c0e3b19cce128aef Mon Sep 17 00:00:00 2001 From: Anirudh Raghavendra Date: Thu, 15 Jun 2023 22:45:55 -0700 Subject: [PATCH] Add LE compilation fix for fastrpc_shared.h Compilation was failing with new header on LE HY11 build. Adding compile time flags to fix the issue. Change-Id: Ia51e54f6b18e4d7195f47294b88f39ed2d52c4e8 Signed-off-by: Anirudh Raghavendra --- dsp/adsprpc_shared.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dsp/adsprpc_shared.h b/dsp/adsprpc_shared.h index 5ac5ceed11..cb48e2e87b 100644 --- a/dsp/adsprpc_shared.h +++ b/dsp/adsprpc_shared.h @@ -8,7 +8,12 @@ #include #include + +#ifdef CONFIG_MSM_ADSPRPC_TRUSTED +#include "../include/uapi/fastrpc_shared.h" +#else #include "fastrpc_shared.h" +#endif #define FASTRPC_GLINK_GUID "fastrpcglink-apps-dsp" #define FASTRPC_SMD_GUID "fastrpcsmd-apps-dsp"