summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTai Kuo <taikuo@google.com>2021-02-11 16:31:05 +0800
committerTai Kuo <taikuo@google.com>2021-03-04 22:18:05 +0800
commit7a8fdcddf84310ebb20c9a4940a69c4b8c8f2b97 (patch)
tree8a48addda7a11a2bf36782004a7fc6de9d9488e2
parent1269346e32bbffc086b785527c796e70ab14131c (diff)
downloadsec_touch-7a8fdcddf84310ebb20c9a4940a69c4b8c8f2b97.tar.gz
touch/sec: update touch_offload include path and Makefile
Bug: 174189640 Test: Build pass. Signed-off-by: Tai Kuo <taikuo@google.com> Change-Id: Icdc1df2444a66091d32f299c12a9c6367f0de9ef
-rw-r--r--Makefile2
-rw-r--r--sec_ts.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ebb0eb0..87d6e92 100644
--- a/Makefile
+++ b/Makefile
@@ -8,8 +8,10 @@ KBUILD_OPTIONS += CONFIG_TOUCHSCREEN_SEC_TS=m
EXTRA_CFLAGS += -DDYNAMIC_DEBUG_MODULE
EXTRA_CFLAGS += -DCONFIG_TOUCHSCREEN_TBN
EXTRA_CFLAGS += -DCONFIG_TOUCHSCREEN_HEATMAP
+EXTRA_CFLAGS += -DCONFIG_TOUCHSCREEN_OFFLOAD
EXTRA_CFLAGS += -I$(KERNEL_SRC)/../google-modules/display
EXTRA_CFLAGS += -I$(KERNEL_SRC)/../google-modules/touch/common
+EXTRA_CFLAGS += -I$(KERNEL_SRC)/../google-modules/touch/common/include
EXTRA_SYMBOLS += $(OUT_DIR)/../google-modules/touch/common/Module.symvers
modules modules_install clean:
diff --git a/sec_ts.h b/sec_ts.h
index bce1984..7c7ba08 100644
--- a/sec_ts.h
+++ b/sec_ts.h
@@ -28,7 +28,7 @@
#endif
#include <linux/input/mt.h>
#if IS_ENABLED(CONFIG_TOUCHSCREEN_OFFLOAD)
-#include <linux/input/touch_offload.h>
+#include <touch_offload.h>
#endif
#include "sec_cmd.h"
#include <linux/interrupt.h>