diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2018-05-25 16:31:33 +0100 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-05-26 18:33:26 +0300 |
commit | 7f04878e79b173dbaca546a283850f44188d8840 (patch) | |
tree | 59fa5c5e5dea60b4d7e9a0dbd64907c735b33708 /configfs.h | |
parent | 83fa2cb53742f43c3a254d0453bd96048ee29a82 (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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |