LKML Archive on
help / color / mirror / Atom feed
* [PATCH] video: omap24xxcam: Fix compilation
@ 2011-01-31 12:16 Thomas Weber
  0 siblings, 0 replies; only message in thread
From: Thomas Weber @ 2011-01-31 12:16 UTC (permalink / raw)
  To: linux-omap; +Cc: Thomas Weber, Mauro Carvalho Chehab, linux-media, linux-kernel

Add linux/sched.h because of missing declaration of TASK_NORMAL.

This patch fixes the following error:

drivers/media/video/omap24xxcam.c: In function
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 <>
 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>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-01-31 12:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-31 12:16 [PATCH] video: omap24xxcam: Fix compilation Thomas Weber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).