]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] Kconfig: fix tuners build warnings
authorAntti Palosaari <crope@iki.fi>
Fri, 25 Jul 2014 09:17:59 +0000 (06:17 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 25 Jul 2014 22:30:41 +0000 (19:30 -0300)
[next:master 7472/8702] warning: (USB_MSI2500) selects
MEDIA_TUNER_MSI001 which has unmet direct dependencies
((MEDIA_ANALOG_TV_SUPPORT || ..) && ..)

[next:master 7698/8702] warning: (MEDIA_TUNER && ..) selects
MEDIA_TUNER_XC5000 which has unmet direct dependencies
((MEDIA_ANALOG_TV_SUPPORT || ..) && ..)

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/tuners/Kconfig

index 51edd101f25053308769226d089cf9a03f40ab16..d79fd1ce5a18b0953d405871cf0c9569adde562a 100644 (file)
@@ -16,7 +16,7 @@ config MEDIA_TUNER
 
 menu "Customize TV tuners"
        visible if !MEDIA_SUBDRV_AUTOSELECT
-       depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_RADIO_SUPPORT
+       depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_RADIO_SUPPORT || MEDIA_SDR_SUPPORT
 
 config MEDIA_TUNER_SIMPLE
        tristate "Simple tuner support"
@@ -74,6 +74,7 @@ config MEDIA_TUNER_TEA5767
 config MEDIA_TUNER_MSI001
        tristate "Mirics MSi001"
        depends on MEDIA_SUPPORT && SPI && VIDEO_V4L2
+       default m if !MEDIA_SUBDRV_AUTOSELECT
        help
          Mirics MSi001 silicon tuner driver.