linux/drivers/usb/gadget/legacy
Arnd Bergmann 54eed78c5c usb: gadget: webcam: fix V4L2 Kconfig dependency
Configuring the USB_G_WEBCAM driver as built-in leads to a link
error when CONFIG_VIDEO_V4L2 is a loadable module:

drivers/usb/gadget/function/f_uvc.o: In function `uvc_function_setup':
f_uvc.c:(.text+0xfe): undefined reference to `v4l2_event_queue'
drivers/usb/gadget/function/f_uvc.o: In function `uvc_function_ep0_complete':
f_uvc.c:(.text+0x188): undefined reference to `v4l2_event_queue'

This changes the Kconfig dependency to disallow that configuration,
and force it to be a module in that case as well.

This is apparently a rather old bug, but very hard to trigger
even in thousands of randconfig builds.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2017-12-12 12:44:11 +02:00
..
acm_ms.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
audio.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
cdc2.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
dbgp.c USB: add SPDX identifiers to all remaining files in drivers/usb/ 2017-11-04 11:48:02 +01:00
ether.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
g_ffs.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
gmidi.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
hid.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
inode.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
Kconfig usb: gadget: webcam: fix V4L2 Kconfig dependency 2017-12-12 12:44:11 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mass_storage.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
multi.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
ncm.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
nokia.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
printer.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
serial.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
tcm_usb_gadget.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
webcam.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
zero.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00