OpenCloudOS-Kernel/drivers/staging
Mauro Carvalho Chehab e6940c03dd media: usbvision: depends on USB
When built with:
	CONFIG_USB=m
	CONFIG_VIDEO_USBVISION=y

It causes ld errors:

ld: drivers/staging/media/usbvision/usbvision-core.o: in function `usbvision_write_reg_irq':
usbvision-core.c:(.text+0x8a4): undefined reference to `usb_submit_urb'
ld: drivers/staging/media/usbvision/usbvision-core.o: in function `usbvision_isoc_irq':
usbvision-core.c:(.text+0x2ee8): undefined reference to `usb_submit_urb'
ld: drivers/staging/media/usbvision/usbvision-core.o: in function `usbvision_read_reg':
usbvision-core.c:(.text+0x30ad): undefined reference to `usb_control_msg'
ld: drivers/staging/media/usbvision/usbvision-core.o: in function `usbvision_write_reg':
usbvision-core.c:(.text+0x3178): undefined reference to `usb_control_msg'
ld: drivers/staging/media/usbvision/usbvision-core.o: in function `usbvision_set_output':
usbvision-core.c:(.text+0x344e): undefined reference to `usb_control_msg'
ld: drivers/staging/media/usbvision/usbvision-core.o: in function `usbvision_set_input':
usbvision-core.c:(.text+0x3b9b): undefined reference to `usb_control_msg'
ld: drivers/staging/media/usbvision/usbvision-core.o: in function `usbvision_setup':
usbvision-core.c:(.text+0x4009): undefined reference to `usb_control_msg'
ld: drivers/staging/media/usbvision/usbvision-core.o:usbvision-core.c:(.text+0x417f): more undefined references to `usb_control_msg' follow
ld: drivers/staging/media/usbvision/usbvision-core.o: in function `usbvision_set_alternate':
usbvision-core.c:(.text+0x4518): undefined reference to `usb_set_interface'
ld: drivers/staging/media/usbvision/usbvision-core.o: in function `usbvision_init_isoc':
usbvision-core.c:(.text+0x4673): undefined reference to `usb_alloc_urb'
ld: usbvision-core.c:(.text+0x46a5): undefined reference to `usb_alloc_coherent'
ld: usbvision-core.c:(.text+0x4765): undefined reference to `usb_submit_urb'
ld: drivers/staging/media/usbvision/usbvision-core.o: in function `usbvision_stop_isoc':
usbvision-core.c:(.text+0x4837): undefined reference to `usb_kill_urb'
ld: usbvision-core.c:(.text+0x485f): undefined reference to `usb_free_coherent'
ld: usbvision-core.c:(.text+0x4874): undefined reference to `usb_free_urb'
ld: usbvision-core.c:(.text+0x48f1): undefined reference to `usb_set_interface'
ld: drivers/staging/media/usbvision/usbvision-video.o: in function `usbvision_release':
usbvision-video.c:(.text+0x1a8a): undefined reference to `usb_free_urb'
ld: drivers/staging/media/usbvision/usbvision-video.o: in function `usbvision_disconnect':
usbvision-video.c:(.text+0x1b74): undefined reference to `usb_put_dev'
ld: drivers/staging/media/usbvision/usbvision-video.o: in function `usbvision_radio_close':
usbvision-video.c:(.text+0x1c89): undefined reference to `usb_set_interface'
ld: drivers/staging/media/usbvision/usbvision-video.o: in function `usbvision_probe':
usbvision-video.c:(.text+0x1e4b): undefined reference to `usb_get_dev'
ld: usbvision-video.c:(.text+0x20e1): undefined reference to `usb_alloc_urb'
ld: usbvision-video.c:(.text+0x2797): undefined reference to `usb_put_dev'
ld: drivers/staging/media/usbvision/usbvision-video.o: in function `usbvision_exit':
usbvision-video.c:(.exit.text+0x37): undefined reference to `usb_deregister'
ld: drivers/staging/media/usbvision/usbvision-video.o: in function `usbvision_init':
usbvision-video.c:(.init.text+0xf9): undefined reference to `usb_register_driver'
ld: drivers/staging/media/usbvision/usbvision-i2c.o: in function `usbvision_i2c_write':
usbvision-i2c.c:(.text+0x2f4): undefined reference to `usb_control_msg'

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-04-20 22:46:04 +02:00
..
android staging: android: Delete the 'vsoc' driver 2020-02-10 08:51:12 -08:00
axis-fifo staging: axis-fifo: replace spinlock with mutex 2020-01-22 09:58:01 +01:00
board staging: board: use appropriate macro to initialize struct 2019-09-30 21:57:57 +02:00
clocking-wizard staging: clocking-wizard: use devm_platform_ioremap_resource() to simplify code 2019-10-10 11:00:59 +02:00
comedi SPDX patches for 5.7-rc1. 2020-04-03 13:12:26 -07:00
emxx_udc staging: emxx_udc: Fix invalid reference error 2019-10-30 10:38:46 +01:00
fbtft staging: fbtft: Avoid potential precedence issues 2020-03-17 12:47:24 +01:00
fieldbus staging: fieldbus: anybuss: use devm_platform_ioremap_resource helper 2019-10-27 08:15:43 +01:00
fsl-dpaa2 staging: fsl-dpaa2: ethsw: ethsw.c: Fix line over 80 characters 2020-02-17 18:14:26 +01:00
fwserial staging: fwserial: Fix Kconfig indentation (seven spaces) 2019-11-22 11:32:54 +01:00
gasket mm/vma: introduce VM_ACCESS_FLAGS 2020-04-10 15:36:21 -07:00
gdm724x staging: gdm724x: use netdev_err() instead of pr_err() 2020-03-20 15:07:45 +01:00
goldfish staging: Remove dev_err() usage after platform_get_irq() 2019-07-30 20:50:04 +02:00
greybus SPDX patches for 5.7-rc1. 2020-04-03 13:12:26 -07:00
gs_fpgaboot
iio staging: iio: adc: ad7280a: Add comments to clarify stringified arguments 2020-03-23 11:45:20 +01:00
kpc2000 Staging: kpc2000: kpc_dma: Use spaces around operators. 2020-03-25 19:38:40 +01:00
ks7010 staging: ks7010: remove line over 80 characters 2020-03-10 10:15:23 +01:00
media media: usbvision: depends on USB 2020-04-20 22:46:04 +02:00
most Staging/IIO driver patches for 5.7-rc1 2020-03-30 14:20:41 -07:00
mt7621-dma staging: mt7621-dma: quoted string split across lines 2020-03-21 10:31:54 +01:00
mt7621-dts staging: mt7621-dts: gpio 8 and 9 are vendor specific 2020-03-21 10:31:54 +01:00
mt7621-pci staging: mt7621-pci: avoid to set 'iomem_resource' addresses 2020-03-23 11:41:02 +01:00
mt7621-pci-phy staging: mt7621-pci-phy: re-do 'xtal_mode' detection 2020-03-23 11:32:43 +01:00
mt7621-pinctrl
netlogic staging: netlogic: Use the correct style for SPDX License Identifier 2020-02-09 16:22:58 -08:00
nvec staging: nvec: check return value 2019-12-19 19:23:29 +01:00
octeon staging/octeon: fix up merge error 2020-03-30 17:22:01 -07:00
octeon-usb staging: Replace zero-length array with flexible-array member 2020-02-23 19:18:54 +01:00
olpc_dcon staging: olpc_dcon: fix wrong dependencies in Kconfig file 2019-09-30 21:58:00 +02:00
pi433 staging: pi433: overlay: Convert to sugar syntax 2020-02-23 19:20:49 +01:00
qlge Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2020-03-31 17:29:33 -07:00
ralink-gdma staging: ralink-gdma: use devm_platform_ioremap_resource() to simplify code 2019-10-24 22:40:38 -04:00
rtl8188eu staging: rtl8188eu: cleanup long line in odm.c 2020-03-26 15:45:08 +01:00
rtl8192e staging: rtl8192e: Use scnprintf() for avoiding potential buffer overflow 2020-03-12 09:23:59 +01:00
rtl8192u Staging: rtl8192u: ieee80211: Use netdev_alert(). 2020-03-26 16:58:23 +01:00
rtl8712 staging: rtl8712: Remove unnecessary braces 2020-03-20 15:07:44 +01:00
rtl8723bs staging: rtl8723bs: hal: Remove NULL check before kfree 2020-03-26 15:47:26 +01:00
rts5208 staging: rts5208: shorten long line in func call 2020-03-19 15:11:35 +01:00
sm750fb staging: sm750fb: Fix of long line in makefile variable 2020-03-19 15:11:35 +01:00
speakup Char/Misc driver patches for 5.7-rc1 2020-04-03 13:22:40 -07:00
unisys staging: unisys: Documentation: Correct a long line in doc 2020-03-19 15:09:09 +01:00
vc04_services Staging/IIO driver patches for 5.7-rc1 2020-03-30 14:20:41 -07:00
vme compat_ioctl: move more drivers to compat_ptr_ioctl 2019-10-23 17:23:44 +02:00
vt6655 staging: vt6655: Break up function call with long line. 2020-03-25 13:40:14 +01:00
vt6656 staging: vt6656: Use DIV_ROUND_UP macro instead of specific code 2020-03-27 10:05:52 +01:00
wfx Merge 5.6-rc7 into staging-next 2020-03-23 08:01:20 +01:00
wilc1000 staging: wilc1000: Use crc7 in lib/ rather than a private copy 2020-03-26 16:58:24 +01:00
wlan-ng staging: wlan-ng: fix use-after-free Read in hfa384x_usbin_callback 2020-03-26 15:47:26 +01:00
Kconfig staging: remove hp100 driver 2020-03-27 10:01:11 +01:00
Makefile staging: remove hp100 driver 2020-03-27 10:01:11 +01:00