Browse Source

ASoC: fsi codecs: modify menu attribute on Kconfig

Current SND_FSI_xxx menu attributes were bool,
but it should be tristate.
This patch solve below report from Guennadi

"bool" means, if someone is linking the whole ASoC into the kernel, they
will not be able to build this as a module. Not a big deal, but you're
stealing some freedom from the user.

Reported-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Kuninori Morimoto 14 years ago
parent
commit
715ce57618
1 changed files with 3 additions and 3 deletions
  1. 3 3
      sound/soc/sh/Kconfig

+ 3 - 3
sound/soc/sh/Kconfig

@@ -47,7 +47,7 @@ config SND_SH7760_AC97
 	  AC97 unit of the SH7760.
 	  AC97 unit of the SH7760.
 
 
 config SND_FSI_AK4642
 config SND_FSI_AK4642
-	bool "FSI-AK4642 sound support"
+	tristate "FSI-AK4642 sound support"
 	depends on SND_SOC_SH4_FSI && I2C_SH_MOBILE
 	depends on SND_SOC_SH4_FSI && I2C_SH_MOBILE
 	select SND_SOC_AK4642
 	select SND_SOC_AK4642
 	help
 	help
@@ -55,7 +55,7 @@ config SND_FSI_AK4642
 	  FSI - AK4642 unit
 	  FSI - AK4642 unit
 
 
 config SND_FSI_DA7210
 config SND_FSI_DA7210
-	bool "FSI-DA7210 sound support"
+	tristate "FSI-DA7210 sound support"
 	depends on SND_SOC_SH4_FSI && I2C_SH_MOBILE
 	depends on SND_SOC_SH4_FSI && I2C_SH_MOBILE
 	select SND_SOC_DA7210
 	select SND_SOC_DA7210
 	help
 	help
@@ -63,7 +63,7 @@ config SND_FSI_DA7210
 	  FSI - DA7210 unit
 	  FSI - DA7210 unit
 
 
 config SND_FSI_HDMI
 config SND_FSI_HDMI
-	bool "FSI-HDMI sound support"
+	tristate "FSI-HDMI sound support"
 	depends on SND_SOC_SH4_FSI && FB_SH_MOBILE_HDMI
 	depends on SND_SOC_SH4_FSI && FB_SH_MOBILE_HDMI
 	help
 	help
 	  This option enables generic sound support for the
 	  This option enables generic sound support for the