From 8ac5a9e361461e95b49001d9923e82cc0ae1a8bd Mon Sep 17 00:00:00 2001 From: Bingzhe Cai Date: Wed, 9 Oct 2013 14:12:24 +0800 Subject: input: touchscreen: add option to ignore Focaltech family-id check Focaltech touchscreen ICs may use different chip IDs for same module. Add support to ignore ID check for such cases. This patch is propagated from msm-3.10 kernel 'commit d6e831bdf2af ("input: touchscreen: add option to ignore Focaltech family-id check")' Also fix the checkpatch errors. Change-Id: I0fe8da6a5e687317b4878b59ac5d1a4a4b620e1d Signed-off-by: Bingzhe Cai Signed-off-by: Sudhakar Manapati --- include/linux/input/ft5x06_ts.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/linux') diff --git a/include/linux/input/ft5x06_ts.h b/include/linux/input/ft5x06_ts.h index 202ddeec09d6..1340737070f7 100644 --- a/include/linux/input/ft5x06_ts.h +++ b/include/linux/input/ft5x06_ts.h @@ -58,6 +58,7 @@ struct ft5x06_ts_platform_data { bool fw_vkey_support; bool no_force_update; bool i2c_pull_up; + bool ignore_id_check; int (*power_init)(bool); int (*power_on)(bool); }; -- cgit v1.2.3