This is an automatic generated email to let you know that the following patch 
were queued:

Subject: [media] usb: gadget: uvc: add V4L2 dependency
Author:  Arnd Bergmann <>
Date:    Mon Sep 12 12:34:57 2016 -0300

Building the UVC gadget into the kernel fails to build when
CONFIG_VIDEO_V4L2 is a loadable module:

drivers/usb/gadget/function/usb_f_uvc.o: In function 
uvc_configfs.c:(.text.uvc_function_ep0_complete+0x84): undefined reference to 
drivers/usb/gadget/function/usb_f_uvc.o: In function `uvc_function_disable':
uvc_configfs.c:(.text.uvc_function_disable+0x34): undefined reference to 

Adding a dependency in USB_CONFIGFS_F_UVC (which is a bool symbol)
make the 'select USB_F_UVC' statement turn the USB_F_UVC into 'm'
whenever CONFIG_VIDEO_V4L2=m too, avoiding the link failure.

Signed-off-by: Arnd Bergmann <>
Signed-off-by: Hans Verkuil <>
Signed-off-by: Mauro Carvalho Chehab <>

 drivers/usb/gadget/Kconfig | 1 +
 1 file changed, 1 insertion(+)


diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index 3c3f31ceece7..4e7503da2fcf 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -439,6 +439,7 @@ config USB_CONFIGFS_F_HID
        bool "USB Webcam function"
        depends on USB_CONFIGFS
+       depends on VIDEO_V4L2
        depends on VIDEO_DEV
        select VIDEOBUF2_VMALLOC
        select USB_F_UVC

linuxtv-commits mailing list

Reply via email to