diff options
author | Thomas Weber <weber@corscience.de> | 2011-01-31 09:16:09 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-21 20:32:19 -0300 |
commit | d1303567f7738c07c0e5fd22420a9a8e2f55a0c4 (patch) | |
tree | 2dacb45d295fdebf1a6d71c0608846f1ecb105e4 /drivers/media/video/omap24xxcam.c | |
parent | 61ca1500c5ee04f2be34a4f58bb9baed0214b7a9 (diff) | |
download | linux-d1303567f7738c07c0e5fd22420a9a8e2f55a0c4.tar.gz linux-d1303567f7738c07c0e5fd22420a9a8e2f55a0c4.tar.bz2 linux-d1303567f7738c07c0e5fd22420a9a8e2f55a0c4.zip |
[media] omap24xxcam: Fix compilation
Add linux/sched.h because of missing declaration of TASK_NORMAL.
This patch fixes the following error:
drivers/media/video/omap24xxcam.c: In function
'omap24xxcam_vbq_complete':
drivers/media/video/omap24xxcam.c:415: error: 'TASK_NORMAL' undeclared
(first use in this function)
drivers/media/video/omap24xxcam.c:415: error: (Each undeclared
identifier is reported only once
drivers/media/video/omap24xxcam.c:415: error: for each function it
appears in.)
Signed-off-by: Thomas Weber <weber@corscience.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/omap24xxcam.c')
-rw-r--r-- | drivers/media/video/omap24xxcam.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/omap24xxcam.c b/drivers/media/video/omap24xxcam.c index 017552762902..f6626e87dbc5 100644 --- a/drivers/media/video/omap24xxcam.c +++ b/drivers/media/video/omap24xxcam.c @@ -36,6 +36,7 @@ #include <linux/clk.h> #include <linux/io.h> #include <linux/slab.h> +#include <linux/sched.h> #include <media/v4l2-common.h> #include <media/v4l2-ioctl.h> |