diff options
Diffstat (limited to 'drivers/input/mouse/elan_i2c.h')
-rw-r--r-- | drivers/input/mouse/elan_i2c.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/input/mouse/elan_i2c.h b/drivers/input/mouse/elan_i2c.h index 9b2dc015f20c..6d5f8a4c1748 100644 --- a/drivers/input/mouse/elan_i2c.h +++ b/drivers/input/mouse/elan_i2c.h | |||
@@ -25,6 +25,7 @@ | |||
25 | #define ETP_ENABLE_CALIBRATE 0x0002 | 25 | #define ETP_ENABLE_CALIBRATE 0x0002 |
26 | #define ETP_DISABLE_CALIBRATE 0x0000 | 26 | #define ETP_DISABLE_CALIBRATE 0x0000 |
27 | #define ETP_DISABLE_POWER 0x0001 | 27 | #define ETP_DISABLE_POWER 0x0001 |
28 | #define ETP_PRESSURE_OFFSET 25 | ||
28 | 29 | ||
29 | /* IAP Firmware handling */ | 30 | /* IAP Firmware handling */ |
30 | #define ETP_FW_NAME "elan_i2c.bin" | 31 | #define ETP_FW_NAME "elan_i2c.bin" |
@@ -79,6 +80,8 @@ struct elan_transport_ops { | |||
79 | struct completion *reset_done); | 80 | struct completion *reset_done); |
80 | 81 | ||
81 | int (*get_report)(struct i2c_client *client, u8 *report); | 82 | int (*get_report)(struct i2c_client *client, u8 *report); |
83 | int (*get_pressure_adjustment)(struct i2c_client *client, | ||
84 | int *adjustment); | ||
82 | }; | 85 | }; |
83 | 86 | ||
84 | extern const struct elan_transport_ops elan_smbus_ops, elan_i2c_ops; | 87 | extern const struct elan_transport_ops elan_smbus_ops, elan_i2c_ops; |