aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/media/rc-core.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/media/rc-core.h b/include/media/rc-core.h
index 2963263f31e2..60536c74c1ea 100644
--- a/include/media/rc-core.h
+++ b/include/media/rc-core.h
@@ -40,10 +40,12 @@ enum rc_driver_type {
40 * @driver_name: name of the hardware driver which registered this device 40 * @driver_name: name of the hardware driver which registered this device
41 * @map_name: name of the default keymap 41 * @map_name: name of the default keymap
42 * @rc_map: current scan/key table 42 * @rc_map: current scan/key table
43 * @lock: used to ensure we've filled in all protocol details before
44 * anyone can call show_protocols or store_protocols
43 * @devno: unique remote control device number 45 * @devno: unique remote control device number
44 * @raw: additional data for raw pulse/space devices 46 * @raw: additional data for raw pulse/space devices
45 * @input_dev: the input child device used to communicate events to userspace 47 * @input_dev: the input child device used to communicate events to userspace
46 * @driver_type: specifies if protocol decoding is done in hardware or software 48 * @driver_type: specifies if protocol decoding is done in hardware or software
47 * @idle: used to keep track of RX state 49 * @idle: used to keep track of RX state
48 * @allowed_protos: bitmask with the supported RC_TYPE_* protocols 50 * @allowed_protos: bitmask with the supported RC_TYPE_* protocols
49 * @scanmask: some hardware decoders are not capable of providing the full 51 * @scanmask: some hardware decoders are not capable of providing the full
@@ -86,7 +88,8 @@ struct rc_dev {
86 struct input_id input_id; 88 struct input_id input_id;
87 char *driver_name; 89 char *driver_name;
88 const char *map_name; 90 const char *map_name;
89 struct rc_map rc_map; 91 struct rc_map rc_map;
92 struct mutex lock;
90 unsigned long devno; 93 unsigned long devno;
91 struct ir_raw_event_ctrl *raw; 94 struct ir_raw_event_ctrl *raw;
92 struct input_dev *input_dev; 95 struct input_dev *input_dev;