Răsfoiți Sursa

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 <[email protected]>
Anirudh Raghavendra 2 ani în urmă
părinte
comite
00d699d6cb
1 a modificat fișierele cu 5 adăugiri și 0 ștergeri
  1. 5 0
      dsp/adsprpc_shared.h

+ 5 - 0
dsp/adsprpc_shared.h

@@ -8,7 +8,12 @@
 
 #include <linux/types.h>
 #include <linux/cdev.h>
+
+#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"