linux/drivers/media/usb
Arnd Bergmann d0fe85e95f [media] dvb-usb: avoid link error with dib3000m{b,c|
Tha ARM randconfig builds came up with another rare build failure
for the dib3000mc driver, when dvb-usb-dibusb-mb is built-in and
dib3000mc is a loadable module:

ERROR: "dibusb_dib3000mc_frontend_attach" [drivers/media/usb/dvb-usb/dvb-usb-nova-t-usb2.ko] undefined!
ERROR: "dibusb_dib3000mc_tuner_attach" [drivers/media/usb/dvb-usb/dvb-usb-nova-t-usb2.ko] undefined!

Apparently this used to be a valid configuration (build-time, not
run-time), but broke as part of a cleanup.

I tried reverting the cleanup, but saw that the code was still wrong
then. This version adds a dependency for dib3000mb, to ensure that
dib3000mb does not force the dibusb_dib3000mc_frontend_attach function
to be built-in when dib3000mc is a loadable module.

I have also checked the two other files that were changed in the original
cleanup, and found them to be correct in either version, so I do not
touch that part.

As this is a rather obscure bug, there is no need for backports.

Fixes: 028c70ff42 ("[media] dvb-usb/dvb-usb-v2: use IS_ENABLED")

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-09-22 12:38:27 -03:00
..
airspy [media] usb: constify vb2_ops structures 2016-09-19 16:20:35 -03:00
as102 [media] media: usb: as102: as102_usb_drv: don't print error when allocating urb fails 2016-08-24 08:48:19 -03:00
au0828 [media] rc: split nec protocol into its three variants 2016-09-22 11:46:49 -03:00
b2c2 [media] media: change email address 2016-01-25 12:01:08 -02:00
cpia2 [media] media: usb: cpia2: cpia2_usb: don't print error when allocating urb fails 2016-08-24 08:48:56 -03:00
cx231xx [media] constify i2c_algorithm structures 2016-09-19 16:27:02 -03:00
dvb-usb [media] dvb-usb: avoid link error with dib3000m{b,c| 2016-09-22 12:38:27 -03:00
dvb-usb-v2 [media] rc: split nec protocol into its three variants 2016-09-22 11:46:49 -03:00
em28xx [media] constify i2c_algorithm structures 2016-09-19 16:27:02 -03:00
go7007 [media] constify i2c_algorithm structures 2016-09-19 16:27:02 -03:00
gspca [media] gspca: finepix: Remove deprecated create_singlethread_workqueue 2016-08-24 09:30:21 -03:00
hackrf [media] usb: constify vb2_ops structures 2016-09-19 16:20:35 -03:00
hdpvr [media] rc: Hauppauge z8f0811 can decode RC6 2016-09-22 11:44:52 -03:00
msi2500 [media] usb: constify vb2_ops structures 2016-09-19 16:20:35 -03:00
pvrusb2 [media] rc: Hauppauge z8f0811 can decode RC6 2016-09-22 11:44:52 -03:00
pwc [media] usb: constify vb2_ops structures 2016-09-19 16:20:35 -03:00
s2255 [media] usb: constify vb2_ops structures 2016-09-19 16:20:35 -03:00
siano [media] media_device: move allocation out of media_device_*_init 2016-02-23 07:19:39 -03:00
stk1160 [media] constify i2c_algorithm structures 2016-09-19 16:27:02 -03:00
stkwebcam [media] media: usb: stkwebcam: stk-webcam: don't print error when allocating urb fails 2016-08-24 09:26:20 -03:00
tm6000 [media] usb: constify snd_pcm_ops structures 2016-09-19 16:19:10 -03:00
ttusb-budget [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
ttusb-dec [media] ttusb-dec: constify ttusbdecfe_config structure 2015-11-19 11:22:15 -02:00
usbtv [media] usb: constify vb2_ops structures 2016-09-19 16:20:35 -03:00
usbvision [media] media: usb: usbvision: usbvision-core: don't print error when allocating urb fails 2016-08-24 09:27:16 -03:00
uvc [media] usb: constify vb2_ops structures 2016-09-19 16:20:35 -03:00
zr364xx [media] media: usb: zr364xx: zr364xx: don't print error when allocating urb fails 2016-08-24 09:27:34 -03:00
Kconfig [media] tlg2300: move to staging in preparation for removal 2014-12-16 23:21:43 -02:00
Makefile [media] tlg2300: move to staging in preparation for removal 2014-12-16 23:21:43 -02:00