aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/function/uvc.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/gadget/function/uvc.h')
-rw-r--r--drivers/usb/gadget/function/uvc.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/usb/gadget/function/uvc.h b/drivers/usb/gadget/function/uvc.h
index 7a9111de8054..f67695cb28f8 100644
--- a/drivers/usb/gadget/function/uvc.h
+++ b/drivers/usb/gadget/function/uvc.h
@@ -53,6 +53,7 @@ struct uvc_event
53#ifdef __KERNEL__ 53#ifdef __KERNEL__
54 54
55#include <linux/usb.h> /* For usb_endpoint_* */ 55#include <linux/usb.h> /* For usb_endpoint_* */
56#include <linux/usb/composite.h>
56#include <linux/usb/gadget.h> 57#include <linux/usb/gadget.h>
57#include <linux/videodev2.h> 58#include <linux/videodev2.h>
58#include <linux/version.h> 59#include <linux/version.h>
@@ -96,9 +97,6 @@ extern unsigned int uvc_gadget_trace_param;
96 * Driver specific constants 97 * Driver specific constants
97 */ 98 */
98 99
99#define DRIVER_VERSION "0.1.0"
100#define DRIVER_VERSION_NUMBER KERNEL_VERSION(0, 1, 0)
101
102#define UVC_NUM_REQUESTS 4 100#define UVC_NUM_REQUESTS 4
103#define UVC_MAX_REQUEST_SIZE 64 101#define UVC_MAX_REQUEST_SIZE 64
104#define UVC_MAX_EVENTS 4 102#define UVC_MAX_EVENTS 4