diff options
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/ir-common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/media/ir-common.h b/include/media/ir-common.h index 5921776929e7..5964145d65e6 100644 --- a/include/media/ir-common.h +++ b/include/media/ir-common.h | |||
@@ -27,6 +27,10 @@ | |||
27 | #include <linux/workqueue.h> | 27 | #include <linux/workqueue.h> |
28 | #include <linux/interrupt.h> | 28 | #include <linux/interrupt.h> |
29 | 29 | ||
30 | 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 | printk(KERN_DEBUG fmt , ## arg) | ||
33 | |||
30 | #define IR_TYPE_RC5 1 | 34 | #define IR_TYPE_RC5 1 |
31 | #define IR_TYPE_PD 2 /* Pulse distance encoded IR */ | 35 | #define IR_TYPE_PD 2 /* Pulse distance encoded IR */ |
32 | #define IR_TYPE_OTHER 99 | 36 | #define IR_TYPE_OTHER 99 |