Skip to content

Commit aa2bcac

Browse files
author
Josuah Demangeon
committed
usb: uvc: move the header definition to include/
Move the UVC header with all the definitions from the UVC standard to share it between USB host and device class implementation. Signed-off-by: Josuah Demangeon <[email protected]>
1 parent f230b55 commit aa2bcac

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed
File renamed without changes.

subsys/usb/device_next/class/usbd_uvc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
#include <zephyr/sys/util.h>
2525
#include <zephyr/usb/usb_ch9.h>
2626
#include <zephyr/usb/class/usbd_uvc.h>
27+
#include <zephyr/usb/class/usb_uvc.h>
2728

28-
#include "usbd_uvc.h"
2929
#include "../../../drivers/video/video_ctrls.h"
3030
#include "../../../drivers/video/video_device.h"
3131

subsys/usb/host/usbh_class.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ struct usbh_class_filter {
5656
* @retval true if the USB Device descriptor matches at least one rule.
5757
*/
5858
bool usbh_class_is_matching(struct usbh_class_filter *const filters, size_t n_filters,
59-
struct usb_device_descriptor *const desc);
59+
struct usb_device_descriptor *const desc);
6060

6161
#endif /* ZEPHYR_INCLUDE_USBD_CLASS_H */

0 commit comments

Comments
 (0)