mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
Fix goodix touch driver build error
When CONFIG_BOARD_USES_DOUBLE_TAP_CTRL macro not defined,goodix touch driver will build error. Change-Id: Ia4dd842a7255f2e954db9fbe151fda84ebda7320 Signed-off-by: Wenge Zhu <zhuwg1@motorola.com> Reviewed-on: https://gerrit.mot.com/2428636 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
210d3a0a6f
commit
ecbc1bbf1f
1 changed files with 1 additions and 1 deletions
|
|
@ -918,8 +918,8 @@ static int goodix_ts_mmi_panel_state(struct device *dev,
|
|||
struct platform_device *pdev;
|
||||
struct goodix_ts_core *core_data;
|
||||
const struct goodix_ts_hw_ops *hw_ops;
|
||||
int ret = 0;
|
||||
#if defined(CONFIG_BOARD_USES_DOUBLE_TAP_CTRL)
|
||||
int ret = 0;
|
||||
unsigned short gesture_cmd = 0xFFFF;
|
||||
unsigned char gesture_type = 0;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue