diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/media/ir-common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/ir-common.h b/include/media/ir-common.h index 452f6e86084d..e41a99ee353e 100644 --- a/include/media/ir-common.h +++ b/include/media/ir-common.h | |||
@@ -26,6 +26,7 @@ | |||
26 | #include <linux/input.h> | 26 | #include <linux/input.h> |
27 | #include <linux/workqueue.h> | 27 | #include <linux/workqueue.h> |
28 | #include <linux/interrupt.h> | 28 | #include <linux/interrupt.h> |
29 | #include <linux/spinlock.h> | ||
29 | 30 | ||
30 | extern int media_ir_debug; /* media_ir_debug level (0,1,2) */ | 31 | extern int media_ir_debug; /* media_ir_debug level (0,1,2) */ |
31 | #define IR_dprintk(level, fmt, arg...) if (media_ir_debug >= level) \ | 32 | #define IR_dprintk(level, fmt, arg...) if (media_ir_debug >= level) \ |
@@ -43,6 +44,7 @@ struct ir_scancode { | |||
43 | struct ir_scancode_table { | 44 | struct ir_scancode_table { |
44 | struct ir_scancode *scan; | 45 | struct ir_scancode *scan; |
45 | int size; | 46 | int size; |
47 | spinlock_t lock; | ||
46 | }; | 48 | }; |
47 | 49 | ||
48 | #define RC5_START(x) (((x)>>12)&3) | 50 | #define RC5_START(x) (((x)>>12)&3) |