]> err.no Git - linux-2.6/commitdiff
V4L/DVB (5001): Add two required headers on kernel 2.6.20-rc1
authorMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 27 Dec 2006 16:04:09 +0000 (14:04 -0200)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 27 Dec 2006 16:20:46 +0000 (14:20 -0200)
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>
drivers/media/common/ir-functions.c
include/media/ir-common.h

index 8eaa88fd8b9b7ab3cde535b7ce4499b6c4fe6ffd..9a8dd8764c99df188e4bb7857282eea6b8a9746c 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/module.h>
 #include <linux/moduleparam.h>
 #include <linux/string.h>
+#include <linux/jiffies.h>
 #include <media/ir-common.h>
 
 /* -------------------------------------------------------------------------- */
index 2b25f5c950068b0ea1be5f1b85d627d169b86098..4bb0ad81017903dc9e01f76d9ab49de6625317ee 100644 (file)
@@ -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 */