[media] rtl28xxu: depends on I2C_MUX
authorAntti Palosaari <crope@iki.fi>
Mon, 10 Mar 2014 18:18:55 +0000 (15:18 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 14 Mar 2014 08:35:23 +0000 (05:35 -0300)
We need depend on I2C_MUX as rtl2832 demod used requires it.

All error/warnings:
warning: (DVB_USB_RTL28XXU) selects DVB_RTL2832 which has unmet direct dependencies (MEDIA_SUPPORT && DVB_CORE && I2C && I2C_MUX)
ERROR: "i2c_add_mux_adapter" [drivers/media/dvb-frontends/rtl2832.ko] undefined!
ERROR: "i2c_del_mux_adapter" [drivers/media/dvb-frontends/rtl2832.ko] undefined!

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/usb/dvb-usb-v2/Kconfig

index bfb73780094eec6dd78c3181bc4391961515c97e..037e519bbaa2f80bb014dfadb8c3f4983cd51ab1 100644 (file)
@@ -126,7 +126,7 @@ config DVB_USB_MXL111SF
 
 config DVB_USB_RTL28XXU
        tristate "Realtek RTL28xxU DVB USB support"
-       depends on DVB_USB_V2
+       depends on DVB_USB_V2 && I2C_MUX
        select DVB_RTL2830
        select DVB_RTL2832
        select MEDIA_TUNER_QT1010 if MEDIA_SUBDRV_AUTOSELECT