summaryrefslogtreecommitdiffstats
path: root/drivers/media/radio
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2009-12-14 18:08:13 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-12-16 12:28:00 +0100
commit788f6feb13b80ebf994de59e74c66dc05504ca8f (patch)
tree7fb710a1ed6704f7c02e1af061954a7c7e43786c /drivers/media/radio
parentV4L/DVB (13688): au8522: modify the attributes of local filter coefficients (diff)
downloadlinux-788f6feb13b80ebf994de59e74c66dc05504ca8f.tar.xz
linux-788f6feb13b80ebf994de59e74c66dc05504ca8f.zip
V4L/DVB (13690): radio/si470x: #include <sched.h>
Driver needs to #include <sched.h>: drivers/media/radio/si470x/radio-si470x-common.c:452: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function) drivers/media/radio/si470x/radio-si470x-common.c:452: error: implicit declaration of function 'signal_pending' drivers/media/radio/si470x/radio-si470x-common.c:452: error: implicit declaration of function 'schedule' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/radio')
-rw-r--r--drivers/media/radio/si470x/radio-si470x.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/radio/si470x/radio-si470x.h b/drivers/media/radio/si470x/radio-si470x.h
index 29e05cf53474..3cd0a29cd6e7 100644
--- a/drivers/media/radio/si470x/radio-si470x.h
+++ b/drivers/media/radio/si470x/radio-si470x.h
@@ -29,6 +29,7 @@
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
+#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/smp_lock.h>
#include <linux/input.h>