]> Pileus Git - ~andy/linux/commitdiff
[media] sound/pci/Kconfig: select RADIO_ADAPTERS if needed
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Sat, 24 Aug 2013 11:15:03 +0000 (08:15 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sat, 24 Aug 2013 11:17:48 +0000 (08:17 -0300)
As reported by kbuild test robot <fengguang.wu@intel.com>:
warning: (SND_ES1968_RADIO && SND_FM801_TEA575X_BOOL) selects RADIO_TEA575X which has unmet direct dependencies (MEDIA_SUPPORT && RADIO_ADAPTERS && VIDEO_V4L2)

That happens because a radio driver is selected, without selecting the
RADIO_ADAPTERS menu.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Cc: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
sound/pci/Kconfig

index 9df80efa469220be5b66d6210e9157d64604ea4a..46ed9e8ae0fde718525da786a5b79a27a043c372 100644 (file)
@@ -539,7 +539,9 @@ config SND_ES1968_RADIO
        depends on SND_ES1968
        depends on MEDIA_RADIO_SUPPORT
        depends on VIDEO_V4L2=y || VIDEO_V4L2=SND_ES1968
+       select RADIO_ADAPTERS
        select RADIO_TEA575X
+
        help
          Say Y here to include support for TEA5757 radio tuner integrated on
          some MediaForte cards (e.g. SF64-PCE2).
@@ -561,6 +563,7 @@ config SND_FM801_TEA575X_BOOL
        depends on SND_FM801
        depends on MEDIA_RADIO_SUPPORT
        depends on VIDEO_V4L2=y || VIDEO_V4L2=SND_FM801
+       select RADIO_ADAPTERS
        select RADIO_TEA575X
        help
          Say Y here to include support for soundcards based on the ForteMedia