aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/elan_i2c.h
diff options
context:
space:
mode:
authorDuson Lin <dusonlin@emc.com.tw>2015-09-21 09:26:46 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-09-21 09:32:40 -0700
commited75a14eb554995c522a3b861d4c86a7eddb2ad7 (patch)
treef65ff6a2ca54abc6fa22a212f1631f234fc1e30a /drivers/input/mouse/elan_i2c.h
parentInput: elan_i2c - add ic type 0x03 (diff)
downloadlinux-dev-ed75a14eb554995c522a3b861d4c86a7eddb2ad7.tar.xz
linux-dev-ed75a14eb554995c522a3b861d4c86a7eddb2ad7.zip
Input: elan_i2c - expand maximum product_id form 0xFF to 0xFFFF
In order to support more projects in the future, we expand the maximum product_id value form 0xFF to 0xFFFF. Signed-off by: Duson Lin <dusonlin@emc.com.tw> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/mouse/elan_i2c.h')
-rw-r--r--drivers/input/mouse/elan_i2c.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/mouse/elan_i2c.h b/drivers/input/mouse/elan_i2c.h
index 73670f2aebfd..c0ec26118732 100644
--- a/drivers/input/mouse/elan_i2c.h
+++ b/drivers/input/mouse/elan_i2c.h
@@ -60,7 +60,7 @@ struct elan_transport_ops {
int (*get_sm_version)(struct i2c_client *client,
u8* ic_type, u8 *version);
int (*get_checksum)(struct i2c_client *client, bool iap, u16 *csum);
- int (*get_product_id)(struct i2c_client *client, u8 *id);
+ int (*get_product_id)(struct i2c_client *client, u16 *id);
int (*get_max)(struct i2c_client *client,
unsigned int *max_x, unsigned int *max_y);