summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-12-21 00:52:45 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-12-21 00:52:45 -0200
commit347e062eb0f9b8ef3dd8fb68629baa2e8b5a134e (patch)
tree044dcc665109ef51320cd9892a0e4710ae644983 /linux
parent43315dd15292f6e2b75eefed38c75fb14fa12745 (diff)
downloadmediapointer-dvb-s2-347e062eb0f9b8ef3dd8fb68629baa2e8b5a134e.tar.gz
mediapointer-dvb-s2-347e062eb0f9b8ef3dd8fb68629baa2e8b5a134e.tar.bz2
Add two required headers on kernel 2.6.20-rc1
From: Mauro Carvalho Chehab <mchehab@infradead.org> 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: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/common/ir-functions.c1
-rw-r--r--linux/include/media/ir-common.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/common/ir-functions.c b/linux/drivers/media/common/ir-functions.c
index d4588559a..13259912f 100644
--- a/linux/drivers/media/common/ir-functions.c
+++ b/linux/drivers/media/common/ir-functions.c
@@ -24,6 +24,7 @@
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/string.h>
+#include <linux/jiffies.h>
#include <media/ir-common.h>
/* -------------------------------------------------------------------------- */
diff --git a/linux/include/media/ir-common.h b/linux/include/media/ir-common.h
index 4c104ebdf..c60a30997 100644
--- a/linux/include/media/ir-common.h
+++ b/linux/include/media/ir-common.h
@@ -24,6 +24,7 @@
#define _IR_COMMON
#include <linux/input.h>
+#include <linux/workqueue.h>
#define IR_TYPE_RC5 1
#define IR_TYPE_PD 2 /* Pulse distance encoded IR */