diff options
author | Thomas Weber <weber@corscience.de> | 2011-01-31 13:16:09 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-22 00:32:19 +0100 |
commit | d1303567f7738c07c0e5fd22420a9a8e2f55a0c4 (patch) | |
tree | 2dacb45d295fdebf1a6d71c0608846f1ecb105e4 /drivers/media/video/omap24xxcam.c | |
parent | [media] video/saa7164: Fix sparse warning: Using plain integer as NULL pointer (diff) | |
download | linux-d1303567f7738c07c0e5fd22420a9a8e2f55a0c4.tar.xz 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> |