From: Thomas Weber Subject: [PATCHv2] media/video: Fix compilation of omap24xxcam Date: Tue, 8 Feb 2011 09:18:21 +0100 Message-ID: <1297153101-23680-1-git-send-email-weber@corscience.de> Return-path: Sender: linux-kernel-owner@vger.kernel.org To: linux-omap@vger.kernel.org Cc: Thomas Weber , Mauro Carvalho Chehab , Hans Verkuil , Tejun Heo , Sakari Ailus , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Randy Dunlap List-Id: linux-omap@vger.kernel.org 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 --- Changelog: v2: Change subject line to media/video 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 #include #include +#include #include #include -- 1.7.4.rc3