Re: [PATCH 1/6] usb: uvc: include videodev2.h in g_uvc.h

2018-10-10 Thread Laurent Pinchart
Hi Paul, Thank you for the patch. On Wednesday, 10 October 2018 05:48:58 EEST Paul Elder wrote: > V4L2_EVENT_PRIVATE_START is used in g_uvc.h but is defined in > videodev2.h, which is not included and causes a compiler warning: > > linux/usb/g_uvc.h:15:28: error: ‘V4L2_EVENT_PRIVATE_START’ undec

[PATCH 1/6] usb: uvc: include videodev2.h in g_uvc.h

2018-10-09 Thread Paul Elder
V4L2_EVENT_PRIVATE_START is used in g_uvc.h but is defined in videodev2.h, which is not included and causes a compiler warning: linux/usb/g_uvc.h:15:28: error: ‘V4L2_EVENT_PRIVATE_START’ undeclared here (not in a function) #define UVC_EVENT_FIRST (V4L2_EVENT_PRIVATE_START + 0) Include videode