Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754068Ab1FXIwH (ORCPT ); Fri, 24 Jun 2011 04:52:07 -0400 Received: from perceval.ideasonboard.com ([95.142.166.194]:46441 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752753Ab1FXIwD (ORCPT ); Fri, 24 Jun 2011 04:52:03 -0400 From: Laurent Pinchart To: Jesper Juhl Subject: Re: [PATCH 12/37] Remove unneeded version.h includes (and add where needed) for drivers/media/video/ Date: Fri, 24 Jun 2011 10:52:00 +0200 User-Agent: KMail/1.13.7 (Linux/2.6.37-gentoo-r3; KDE/4.6.4; x86_64; ; ) Cc: LKML , trivial@kernel.org, linux-media@vger.kernel.org, linux-usb@vger.kernel.org, ivtv-devel@ivtvdriver.org, Mauro Carvalho Chehab , Andy Walls , Luca Risolia , Olivier Lorin , "Jean-Francois Moine" , Huang Shijie , Kang Yong , Zhang Xiaobing References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201106241052.02244.laurent.pinchart@ideasonboard.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1625 Lines: 51 Hi Jesper, On Friday 24 June 2011 00:17:01 Jesper Juhl wrote: > It was pointed out by 'make versioncheck' that linux/version.h was not > always being included where needed and sometimes included needlessly > in drivers/media/video/. > This patch fixes up the includes. > > Signed-off-by: Jesper Juhl [snip] > diff --git a/drivers/media/video/uvc/uvc_v4l2.c > b/drivers/media/video/uvc/uvc_v4l2.c index 543a803..7fbd389 100644 > --- a/drivers/media/video/uvc/uvc_v4l2.c > +++ b/drivers/media/video/uvc/uvc_v4l2.c > @@ -12,7 +12,6 @@ > */ > > #include > -#include > #include > #include > #include uvc_v4l2.c uses KERNEL_VERSION explicitly. It includes linux/version.h through linux/media.h, but I'd rather keep the explicit include. > diff --git a/drivers/media/video/uvc/uvcvideo.h > b/drivers/media/video/uvc/uvcvideo.h index 20107fd..1c0fe5e 100644 > --- a/drivers/media/video/uvc/uvcvideo.h > +++ b/drivers/media/video/uvc/uvcvideo.h > @@ -101,6 +101,7 @@ struct uvc_xu_control { > #include > #include > #include > +#include > #include > #include This file doesn't include linux/version.h anymore in 3.0-rc4. -- Regards, Laurent Pinchart -- 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/