[PATCH 0/3] usb: gadget: uvc: Expose UAPI & miscellaneous cleanups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Here are a few miscellaneous patches prompted by drive-by fixes.

The first patch moves the definition of the UVC function userspace API
to a public header in include/uapi/ for consumption by userspace. This
should remove the need to manually copy the file when compiling
userspace applications, or, worse, to use relative include paths that
point within the kernel source tree.

The next two patches are small cleanups for miscellaneous things that
bothered me while writing the first patch. There isn't much of a design
to comment on, please see individual patches for details.

Laurent Pinchart (3):
  usb: gadget: uvc: Move userspace API definition to public header
  usb: gadget: uvc: Minimize #include in headers
  usb: gadget: uvc: Move trace parameter to function module

 MAINTAINERS                             |  1 +
 drivers/usb/gadget/function/f_uvc.c     |  7 +++--
 drivers/usb/gadget/function/f_uvc.h     |  6 +---
 drivers/usb/gadget/function/u_uvc.h     |  5 +---
 drivers/usb/gadget/function/uvc.h       | 53 ++++++++-------------------------
 drivers/usb/gadget/function/uvc_queue.h | 12 ++++----
 drivers/usb/gadget/function/uvc_v4l2.c  |  3 +-
 drivers/usb/gadget/function/uvc_video.h |  2 ++
 drivers/usb/gadget/legacy/webcam.c      |  4 ---
 include/uapi/linux/usb/g_uvc.h          | 39 ++++++++++++++++++++++++
 10 files changed, 69 insertions(+), 63 deletions(-)
 create mode 100644 include/uapi/linux/usb/g_uvc.h

-- 
Regards,

Laurent Pinchart

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux