lkml.org 
[lkml]   [2011]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH resend] video: omap24xxcam: Fix compilation
Thomas Weber wrote:
> 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>

Thanks, Thomas!

Acked-by: Sakari Ailus <sakari.ailus@iki.fi>

> ---
> 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 0175527..f6626e8 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>


--
Sakari Ailus
sakari.ailus@maxwell.research.nokia.com


\
 
 \ /
  Last update: 2011-02-15 12:33    [W:0.055 / U:2.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site