mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
Fix goodix touch driver build error
Fix goodix touch driver build error when enable FOD event on SM8550
platform.
goodix_ts_gesture_fod.c:368:6: error: variable 'fodx' set but not used [-Werror,-Wunused-but-set-variable]
int fodx, fody, overlay_area;
Change-Id: Id98544f32b4e75345236b684593fe9d308781c96
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2349095
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
parent
b67dba787f
commit
1a064151a2
1 changed files with 1 additions and 1 deletions
|
|
@ -365,7 +365,7 @@ static int gsx_gesture_ist(struct goodix_ts_core *cd,
|
|||
{
|
||||
struct goodix_ts_hw_ops *hw_ops = cd->hw_ops;
|
||||
struct goodix_ts_event gs_event = {0};
|
||||
int fodx, fody, overlay_area;
|
||||
__maybe_unused int fodx, fody, overlay_area;
|
||||
int ret;
|
||||
#if defined(CONFIG_INPUT_TOUCHSCREEN_MMI)
|
||||
struct gesture_event_data mmi_event;
|
||||
|
|
|
|||
Loading…
Reference in a new issue