]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] Kconfig: rtl2832_sdr must depend on USB
authorAntti Palosaari <crope@iki.fi>
Fri, 25 Jul 2014 09:31:32 +0000 (06:31 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 25 Jul 2014 22:32:04 +0000 (19:32 -0300)
Fixes error:
[next:master 7435/8702] ERROR: "usb_alloc_urb
[drivers/media/dvb-frontends/rtl2832_sdr.ko] undefined!

rtl2832_sdr driver implements own USB streaming for SDR data.
Logically that functionality belongs to USB interface driver, but
currently it is implemented here.

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

index 78a95a6825539853d9d6f2a6afa4730e05e6629c..5b8b04c9f21122d6f50f695b866b24ca47ca254b 100644 (file)
@@ -448,7 +448,7 @@ config DVB_RTL2832
 
 config DVB_RTL2832_SDR
        tristate "Realtek RTL2832 SDR"
-       depends on DVB_CORE && I2C && I2C_MUX && VIDEO_V4L2 && MEDIA_SDR_SUPPORT
+       depends on DVB_CORE && I2C && I2C_MUX && VIDEO_V4L2 && MEDIA_SDR_SUPPORT && USB
        select DVB_RTL2832
        select VIDEOBUF2_VMALLOC
        default m if !MEDIA_SUBDRV_AUTOSELECT