Commit 0b778a56 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

V4L/DVB (5001): Add two required headers on kernel 2.6.20-rc1

include/media/ir-common.h:78: error: field 'work' has incomplete type
drivers/media/common/ir-functions.c: In function 'ir_rc5_timer_end':
drivers/media/common/ir-functions.c:301: error: 'jiffies' undeclared (first use in this function)
drivers/media/common/ir-functions.c:301: error: (Each undeclared identifier is reported only once)
drivers/media/common/ir-functions.c:301: error: for each function it appears in.)
drivers/media/common/ir-functions.c:347: error: 'HZ' undeclared (first use in this function)
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 9a2816c1
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/moduleparam.h> #include <linux/moduleparam.h>
#include <linux/string.h> #include <linux/string.h>
#include <linux/jiffies.h>
#include <media/ir-common.h> #include <media/ir-common.h>
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#define _IR_COMMON #define _IR_COMMON
#include <linux/input.h> #include <linux/input.h>
#include <linux/workqueue.h>
#define IR_TYPE_RC5 1 #define IR_TYPE_RC5 1
#define IR_TYPE_PD 2 /* Pulse distance encoded IR */ #define IR_TYPE_PD 2 /* Pulse distance encoded IR */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment