Browse Source

[media] sound/pci/Kconfig: select RADIO_ADAPTERS if needed

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>
Mauro Carvalho Chehab 12 years ago
parent
commit
e9a7495c5b
1 changed files with 3 additions and 0 deletions
  1. 3 0
      sound/pci/Kconfig

+ 3 - 0
sound/pci/Kconfig

@@ -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