summaryrefslogtreecommitdiffstats
path: root/drivers/media/Kconfig
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2016-11-18 20:47:41 +0100
committerMauro Carvalho Chehab2016-11-18 20:59:17 +0100
commita4afb3ed430af793702c32ff2e68613263291e81 (patch)
treeb972f263e75659fbcc133cdbc3ecb216a11cef59 /drivers/media/Kconfig
parent[media] media: rc: nuvoton: replace usage of spin_lock_irqsave in ISR (diff)
downloadkernel-qcow2-linux-a4afb3ed430af793702c32ff2e68613263291e81.tar.gz
kernel-qcow2-linux-a4afb3ed430af793702c32ff2e68613263291e81.tar.xz
kernel-qcow2-linux-a4afb3ed430af793702c32ff2e68613263291e81.zip
[media] Kconfig: fix breakages when DVB_CORE is not selected
On some weird randconfigs, it is possible to select DVB drivers, without having the DVB_CORE: CONFIG_DVB_AU8522=m CONFIG_DVB_AU8522_V4L=m CONFIG_DVB_TUNER_DIB0090=m This was never supposed to work, but changeset 22a613e89825 ("[media] dvb_frontend: merge duplicate dvb_tuner_ops.release implementations") caused it to be exposed: drivers/built-in.o: In function `fc0011_attach': (.text+0x1598fb): undefined reference to `dvb_tuner_simple_release' drivers/built-in.o:(.rodata+0x55e58): undefined reference to `dvb_tuner_simple_release' drivers/built-in.o:(.rodata+0x57398): undefined reference to `dvb_tuner_simple_release' Fixes: 22a613e89825 ("[media] dvb_frontend: merge duplicate dvb_tuner_ops.release implementations") Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/Kconfig')
-rw-r--r--drivers/media/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig
index bc643cbf813e..3512316e7a46 100644
--- a/drivers/media/Kconfig
+++ b/drivers/media/Kconfig
@@ -115,7 +115,7 @@ config MEDIA_CONTROLLER
config MEDIA_CONTROLLER_DVB
bool "Enable Media controller for DVB (EXPERIMENTAL)"
- depends on MEDIA_CONTROLLER
+ depends on MEDIA_CONTROLLER && DVB_CORE
---help---
Enable the media controller API support for DVB.