diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-02-07 11:01:41 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-02-08 11:59:39 -0200 |
commit | 0d1270df836fe9f5cc7e8001b7372ca4fa3f00f6 (patch) | |
tree | 3d79a2e640e89ab81e443256d2c407e78d5f5277 /Documentation/admin-guide/kernel-parameters.txt | |
parent | 9165ba166cac5e8c9abda2012ea37cc3430c0b14 (diff) | |
download | blackbird-op-linux-0d1270df836fe9f5cc7e8001b7372ca4fa3f00f6.tar.gz blackbird-op-linux-0d1270df836fe9f5cc7e8001b7372ca4fa3f00f6.zip |
[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: 47d65372b3b6 ("[media] zd1301_demod: ZyDAS ZD1301 DVB-T demodulator driver")
Fixes: 992b39872b80 ("[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>
Diffstat (limited to 'Documentation/admin-guide/kernel-parameters.txt')
0 files changed, 0 insertions, 0 deletions