: Fix goodix touch GKI build break

Fix goodix touch GKI build break because of undeclared coredata is 
referenced by new added clip touch feature.


Change-Id: Ibc68d98965c26e1146a57bf44f90cc219f5b9173
Signed-off-by: Yan Zhang <zhangy26@motorola.com>
Reviewed-on: https://gerrit.mot.com/2649119
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
Yan Zhang 2023-06-20 12:30:14 +08:00
commit 4453c5b727

View file

@ -1193,9 +1193,8 @@ static void goodix_ts_report_finger(struct input_dev *dev,
unsigned int touch_num = touch_data->touch_num;
int i;
static uint8_t touchdown[GOODIX_MAX_TOUCH];
#if defined (CONFIG_GTP_FOD) || defined (CONFIG_GTP_LAST_TIME)
struct goodix_ts_core *core_data = goodix_modules.core_data;
#endif
#ifdef CONFIG_GTP_FOD
struct goodix_ts_event *ts_event = &goodix_modules.core_data->ts_event;
#endif