Re: [PATCH][Resend] Remove unneeded version.h includes (and addwhere needed) for drivers/usb/
From: Felipe Balbi
Date: Tue Aug 02 2011 - 17:19:37 EST
Hi,
On Mon, Aug 01, 2011 at 11:33:29PM +0200, 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/usb/.
> This patch fixes up the includes.
>
> For the UVC gadget driver bits, this was ACK'ed by Laurent Pinchart.
>
> Signed-off-by: Jesper Juhl <jj@xxxxxxxxxxxxx>
> Acked-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>
> ---
> drivers/usb/gadget/uvc.h | 1 +
> drivers/usb/gadget/uvc_v4l2.c | 1 -
> drivers/usb/storage/realtek_cr.c | 1 -
> 3 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/usb/gadget/uvc.h b/drivers/usb/gadget/uvc.h
> index 5b79194..81971fb 100644
> --- a/drivers/usb/gadget/uvc.h
> +++ b/drivers/usb/gadget/uvc.h
> @@ -56,6 +56,7 @@ struct uvc_event
> #include <linux/usb.h> /* For usb_endpoint_* */
> #include <linux/usb/gadget.h>
> #include <linux/videodev2.h>
> +#include <linux/version.h>
does uvc.h really needs <linux/version.h> ?? Laurent ?
--
balbi
Attachment:
signature.asc
Description: Digital signature