summaryrefslogtreecommitdiff
path: root/uvc.c
diff options
context:
space:
mode:
Diffstat (limited to 'uvc.c')
-rw-r--r--uvc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/uvc.c b/uvc.c
index 7131a50..0a276a4 100644
--- a/uvc.c
+++ b/uvc.c
@@ -341,3 +341,8 @@ void uvc_events_init(struct uvc_device *dev, struct events *events)
events_watch_fd(events, dev->vdev->fd, EVENT_EXCEPTION,
uvc_events_process, dev);
}
+
+void uvc_set_config(struct uvc_device *dev, struct uvc_function_config *fc)
+{
+ dev->fc = fc;
+}