linux/drivers/media/usb/dvb-usb-v2
Arnd Bergmann 0d1270df83 [media] zd1301: fix building interface driver without demodulator
If the USB driver is enabled but the demodulator is not, we get a link error:

ERROR: "zd1301_demod_get_dvb_frontend" [drivers/media/usb/dvb-usb-v2/zd1301.ko] undefined!
ERROR: "zd1301_demod_get_i2c_adapter" [drivers/media/usb/dvb-usb-v2/zd1301.ko] undefined!

Such a configuration obviously makes no sense, but we should not fail
the build.  This tries to mimic what we have for other drivers by turning
the build failure into a runtime failure.

Alternatively we could use an unconditional 'select' or 'depends on' to enforce
a sane configuration.

Fixes: 47d65372b3 ("[media] zd1301_demod: ZyDAS ZD1301 DVB-T demodulator driver")
Fixes: 992b39872b ("[media] zd1301: ZyDAS ZD1301 DVB USB interface driver")

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-02-08 11:59:39 -02:00
..
af9015.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
af9015.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
af9035.c [media] af9035: correct demod i2c addresses 2017-01-31 10:51:09 -02:00
af9035.h [media] af9035: register it9133 tuner using platform binding 2017-01-31 10:49:42 -02:00
anysee.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
anysee.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
au6610.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
au6610.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
az6007.c [media] rc: split nec protocol into its three variants 2016-09-22 11:46:49 -03:00
ce6230.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
ce6230.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
dvb_usb_common.h [media] media: change email address 2016-01-25 12:01:08 -02:00
dvb_usb_core.c [media] dvb-usb-v2: avoid use-after-free 2017-02-08 11:45:09 -02:00
dvb_usb_urb.c [media] media: change email address 2016-01-25 12:01:08 -02:00
dvb_usb.h [media] media: change email address 2016-01-25 12:01:08 -02:00
dvbsky.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
ec168.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
ec168.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
gl861.c [media] gl861: use Kernel dev_foo() logging 2012-09-23 20:50:13 -03:00
gl861.h
Kconfig [media] zd1301: ZyDAS ZD1301 DVB USB interface driver 2017-02-03 06:47:35 -02:00
lmedm04.c [media] lmedm04: make lme2510_powerup a little smaller 2017-02-03 07:39:38 -02:00
lmedm04.h
Makefile [media] zd1301: ZyDAS ZD1301 DVB USB interface driver 2017-02-03 06:47:35 -02:00
mxl111sf-demod.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
mxl111sf-demod.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
mxl111sf-gpio.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
mxl111sf-gpio.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
mxl111sf-i2c.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
mxl111sf-i2c.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
mxl111sf-phy.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
mxl111sf-phy.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
mxl111sf-reg.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
mxl111sf-tuner.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
mxl111sf-tuner.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
mxl111sf.c [media] dvb-usb-v2: don't break long lines 2016-10-21 09:40:29 -02:00
mxl111sf.h [media] mxl111sf: Add a tuner entity 2016-01-11 12:19:26 -02:00
rtl28xxu.c [media] rc: raw IR drivers cannot handle cec, unknown or other 2017-01-30 12:40:50 -02:00
rtl28xxu.h [media] rtl28xxu: fix control message flaws 2015-10-22 15:48:27 -02:00
usb_urb.c [media] media: change email address 2016-01-25 12:01:08 -02:00
zd1301.c [media] zd1301: fix building interface driver without demodulator 2017-02-08 11:59:39 -02:00