summaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/cyapa.h
diff options
context:
space:
mode:
authorDudley Du <dudl@cypress.com>2015-07-20 17:09:59 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-07-23 17:34:05 -0700
commit757cae5a6f0ac1c61ce149a066377a15d1ed881f (patch)
tree3c74924b8e411e147153571445fec3ee2a7e7ccc /drivers/input/mouse/cyapa.h
parent945525ee607471630d07c309e036ae4a53abe37f (diff)
downloadlinux-757cae5a6f0ac1c61ce149a066377a15d1ed881f.tar.bz2
Input: cyapa - fully support runtime suspend power management
Fix the the runtime suspend power management not working issue when system starts up and before user touches the trackpad device. TEST=test on Chromebook. Signed-off-by: Dudley Du <dudl@cypress.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/mouse/cyapa.h')
-rw-r--r--drivers/input/mouse/cyapa.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/mouse/cyapa.h b/drivers/input/mouse/cyapa.h
index f51deb69c370..af1253640590 100644
--- a/drivers/input/mouse/cyapa.h
+++ b/drivers/input/mouse/cyapa.h
@@ -273,7 +273,7 @@ struct cyapa_dev_ops {
int (*sort_empty_output_data)(struct cyapa *,
u8 *, int *, cb_sort);
- int (*set_power_mode)(struct cyapa *, u8, u16);
+ int (*set_power_mode)(struct cyapa *, u8, u16, bool);
int (*set_proximity)(struct cyapa *, bool);
};