diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/media/rc-core.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/media/rc-core.h b/include/media/rc-core.h index f165115597f5..0b9f890ce431 100644 --- a/include/media/rc-core.h +++ b/include/media/rc-core.h | |||
@@ -97,6 +97,8 @@ enum rc_filter_type { | |||
97 | * @tx_resolution: resolution (in ns) of output sampler | 97 | * @tx_resolution: resolution (in ns) of output sampler |
98 | * @scancode_filters: scancode filters (indexed by enum rc_filter_type) | 98 | * @scancode_filters: scancode filters (indexed by enum rc_filter_type) |
99 | * @change_protocol: allow changing the protocol used on hardware decoders | 99 | * @change_protocol: allow changing the protocol used on hardware decoders |
100 | * @change_wakeup_protocol: allow changing the protocol used for wakeup | ||
101 | * filtering | ||
100 | * @open: callback to allow drivers to enable polling/irq when IR input device | 102 | * @open: callback to allow drivers to enable polling/irq when IR input device |
101 | * is opened. | 103 | * is opened. |
102 | * @close: callback to allow drivers to disable polling/irq when IR input device | 104 | * @close: callback to allow drivers to disable polling/irq when IR input device |
@@ -145,6 +147,7 @@ struct rc_dev { | |||
145 | u32 tx_resolution; | 147 | u32 tx_resolution; |
146 | struct rc_scancode_filter scancode_filters[RC_FILTER_MAX]; | 148 | struct rc_scancode_filter scancode_filters[RC_FILTER_MAX]; |
147 | int (*change_protocol)(struct rc_dev *dev, u64 *rc_type); | 149 | int (*change_protocol)(struct rc_dev *dev, u64 *rc_type); |
150 | int (*change_wakeup_protocol)(struct rc_dev *dev, u64 *rc_type); | ||
148 | int (*open)(struct rc_dev *dev); | 151 | int (*open)(struct rc_dev *dev); |
149 | void (*close)(struct rc_dev *dev); | 152 | void (*close)(struct rc_dev *dev); |
150 | int (*s_tx_mask)(struct rc_dev *dev, u32 mask); | 153 | int (*s_tx_mask)(struct rc_dev *dev, u32 mask); |