From: Thomas Weber Date: Mon, 31 Jan 2011 12:16:09 +0000 (-0300) Subject: [media] omap24xxcam: Fix compilation X-Git-Tag: v2.6.39-rc1~86^2~265 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=d1303567f7738c07c0e5fd22420a9a8e2f55a0c4;p=~shefty%2Frdma-dev.git [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 Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/omap24xxcam.c b/drivers/media/video/omap24xxcam.c index 01755276290..f6626e87dbc 100644 --- a/drivers/media/video/omap24xxcam.c +++ b/drivers/media/video/omap24xxcam.c @@ -36,6 +36,7 @@ #include #include #include +#include #include #include