aboutsummaryrefslogtreecommitdiff
path: root/include/media
diff options
context:
space:
mode:
Diffstat (limited to 'include/media')
-rw-r--r--include/media/ir-core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/ir-core.h b/include/media/ir-core.h
index 9e03528a767..8d8ed7e06cd 100644
--- a/include/media/ir-core.h
+++ b/include/media/ir-core.h
@@ -18,6 +18,7 @@
#include <linux/spinlock.h>
#include <linux/kfifo.h>
#include <linux/time.h>
+#include <linux/timer.h>
extern int ir_core_debug;
#define IR_dprintk(level, fmt, arg...) if (ir_core_debug >= level) \
@@ -63,6 +64,7 @@ struct ir_raw_event {
struct ir_raw_event_ctrl {
struct kfifo kfifo; /* fifo for the pulse/space events */
struct timespec last_event; /* when last event occurred */
+ struct timer_list timer_keyup; /* timer for key release */
};
struct ir_input_dev {