瀏覽代碼

usb: gadget: Make webcam gadget select USB_LIBCOMPOSITE

Composite gadget support is now available as a library instead of being
built with each gadget. Composite drivers need to select
USB_LIBCOMPOSITE.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Laurent Pinchart 13 年之前
父節點
當前提交
0b2ffb78c0
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/usb/gadget/Kconfig

+ 1 - 0
drivers/usb/gadget/Kconfig

@@ -952,6 +952,7 @@ endif
 config USB_G_WEBCAM
 config USB_G_WEBCAM
 	tristate "USB Webcam Gadget"
 	tristate "USB Webcam Gadget"
 	depends on VIDEO_DEV
 	depends on VIDEO_DEV
+	select USB_LIBCOMPOSITE
 	help
 	help
 	  The Webcam Gadget acts as a composite USB Audio and Video Class
 	  The Webcam Gadget acts as a composite USB Audio and Video Class
 	  device. It provides a userspace API to process UVC control requests
 	  device. It provides a userspace API to process UVC control requests