From b2216cbb0a36c9461e6b7f60b442efbac9c5d7b3 Mon Sep 17 00:00:00 2001 From: huangjq9 Date: Mon, 8 Jul 2019 14:49:27 +0800 Subject: [PATCH] sar-sensor: Fix compilation issues in SDM660 On the bo branch of the SM660 platform, since the sx933x.h file are defined in both DLMK and native. the drivers in DLMK will find the header file from the native firstly if using the method #include . Be fixed by changing #include to #include "xxx". Change-Id: I0ee4491b5f0273a8c8e3d67ff69fbdadb0187097 Signed-off-by: huangjq9 Reviewed-on: https://gerrit.mot.com/1382882 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Jiyue Cui Reviewed-by: Huosheng Liao Submit-Approved: Jira Key --- drivers/misc/sx933x/sx933x_sar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/sx933x/sx933x_sar.c b/drivers/misc/sx933x/sx933x_sar.c index 8129e128f53a..3bfcd97e15d6 100644 --- a/drivers/misc/sx933x/sx933x_sar.c +++ b/drivers/misc/sx933x/sx933x_sar.c @@ -33,7 +33,7 @@ #include #include #include -#include /* main struct, interrupt,init,pointers */ +#include "../../../include/linux/input/sx933x.h" /* main struct, interrupt,init,pointers */ #define SX933x_DEBUG 0 #define LOG_TAG "[sar SX933x]: "