summaryrefslogtreecommitdiff
path: root/configfs.h
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2018-05-25 16:31:33 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2018-05-26 18:33:26 +0300
commit7f04878e79b173dbaca546a283850f44188d8840 (patch)
tree59fa5c5e5dea60b4d7e9a0dbd64907c735b33708 /configfs.h
parent83fa2cb53742f43c3a254d0453bd96048ee29a82 (diff)
configfs: Handle interface numbers
Store the function configuration pointer in the uvc_device, and use it to identify and store the interface numbers from configfs. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'configfs.h')
-rw-r--r--configfs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/configfs.h b/configfs.h
index 56056c1..fe513ea 100644
--- a/configfs.h
+++ b/configfs.h
@@ -14,6 +14,9 @@ struct uvc_function_config {
char *video;
char *udc;
+ unsigned int control_interface;
+ unsigned int streaming_interface;
+
unsigned int streaming_interval;
unsigned int streaming_maxburst;
unsigned int streaming_maxpacket;