[media] rtl2832_sdr: fix Kconfig dependencies
authorAntti Palosaari <crope@iki.fi>
Tue, 22 Jul 2014 04:28:00 +0000 (01:28 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 22 Jul 2014 04:36:29 +0000 (01:36 -0300)
MEDIA_SDR_SUPPORT and I2C_MUX are needed for rtl2832_sdr.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-frontends/Kconfig
drivers/media/usb/dvb-usb-v2/Kconfig

index 7225f059ba2d360e8677d5c66bd7c84947d4a838..78a95a6825539853d9d6f2a6afa4730e05e6629c 100644 (file)
@@ -448,7 +448,7 @@ config DVB_RTL2832
 
 config DVB_RTL2832_SDR
        tristate "Realtek RTL2832 SDR"
-       depends on DVB_CORE && I2C && VIDEO_V4L2
+       depends on DVB_CORE && I2C && I2C_MUX && VIDEO_V4L2 && MEDIA_SDR_SUPPORT
        select DVB_RTL2832
        select VIDEOBUF2_VMALLOC
        default m if !MEDIA_SUBDRV_AUTOSELECT
index 0ea144e5e88d7b836d8e76ce9185edd679229929..66645b02c854dd66435f9bfcb2e5f2f8e390506e 100644 (file)
@@ -129,7 +129,7 @@ config DVB_USB_RTL28XXU
        depends on DVB_USB_V2 && I2C_MUX
        select DVB_RTL2830
        select DVB_RTL2832
-       select DVB_RTL2832_SDR if MEDIA_SUBDRV_AUTOSELECT
+       select DVB_RTL2832_SDR if (MEDIA_SUBDRV_AUTOSELECT && MEDIA_SDR_SUPPORT)
        select MEDIA_TUNER_QT1010 if MEDIA_SUBDRV_AUTOSELECT
        select MEDIA_TUNER_MT2060 if MEDIA_SUBDRV_AUTOSELECT
        select MEDIA_TUNER_MXL5005S if MEDIA_SUBDRV_AUTOSELECT