Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754652Ab1BOL36 (ORCPT ); Tue, 15 Feb 2011 06:29:58 -0500 Received: from smtp.nokia.com ([147.243.128.26]:47143 "EHLO mgw-da02.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754459Ab1BOL35 (ORCPT ); Tue, 15 Feb 2011 06:29:57 -0500 Message-ID: <4D5A6353.7040907@maxwell.research.nokia.com> Date: Tue, 15 Feb 2011 13:28:19 +0200 From: Sakari Ailus User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20101123 SeaMonkey/2.0.11 MIME-Version: 1.0 To: Thomas Weber CC: linux-omap@vger.kernel.org, Mauro Carvalho Chehab , Hans Verkuil , Tejun Heo , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH resend] video: omap24xxcam: Fix compilation References: <1297068547-10635-1-git-send-email-weber@corscience.de> In-Reply-To: <1297068547-10635-1-git-send-email-weber@corscience.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Nokia-AV: Clean Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1428 Lines: 46 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 Thanks, Thomas! Acked-by: Sakari Ailus > --- > 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 -- Sakari Ailus sakari.ailus@maxwell.research.nokia.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/