summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2016-11-30 02:42:13 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2016-11-30 18:03:13 +0100
commita64ea311f1e4bc090c89960650637423e86c35c0 (patch)
treea273f1a5be6b21b2326de22ceb58e6c07a65fb93 /include
parentInput: synaptics-rmi4 - remove unused fields in struct rmi_driver_data (diff)
downloadlinux-a64ea311f1e4bc090c89960650637423e86c35c0.tar.xz
linux-a64ea311f1e4bc090c89960650637423e86c35c0.zip
Input: synaptics-rmi4 - add rmi_enable/disable_irq
Set the .enabled boolean and trigger an event processing when enabling for edge-triggered systems. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/rmi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/rmi.h b/include/linux/rmi.h
index 0b118ab47b8d..621f098f1243 100644
--- a/include/linux/rmi.h
+++ b/include/linux/rmi.h
@@ -356,6 +356,7 @@ struct rmi_driver_data {
u8 num_tx_electrodes;
bool enabled;
+ struct mutex enabled_mutex;
};
int rmi_register_transport_device(struct rmi_transport_dev *xport);