V4L/DVB (13690): radio/si470x: #include <sched.h>
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 14 Dec 2009 17:08:13 +0000 (14:08 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 16 Dec 2009 11:28:00 +0000 (09:28 -0200)
commit788f6feb13b80ebf994de59e74c66dc05504ca8f
tree7fb710a1ed6704f7c02e1af061954a7c7e43786c
parentc86a3c37b1ae77b672c8ff77f833484a2936f125
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>
drivers/media/radio/si470x/radio-si470x.h