summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/uvc.h
diff options
context:
space:
mode:
authorJesper Juhl <jj@chaosbits.net>2011-08-02 01:33:29 +0400
committerJiri Kosina <jkosina@suse.cz>2011-09-15 16:57:07 +0400
commit255f5e062ba22c4c2a3635882d4e461d843c5149 (patch)
treeec83e768f36e943f1f72bb707003c29990edd47a /drivers/usb/gadget/uvc.h
parent9f5c3125d433b3044b013471fa92f1b5738036fe (diff)
downloadlinux-255f5e062ba22c4c2a3635882d4e461d843c5149.tar.xz
Remove unneeded version.h includes (and add where needed) for drivers/usb/
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@chaosbits.net> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/usb/gadget/uvc.h')
-rw-r--r--drivers/usb/gadget/uvc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/uvc.h b/drivers/usb/gadget/uvc.h
index 5b7919460fd2..81971fbc7ea5 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>
#include <media/v4l2-fh.h>
#include "uvc_queue.h"