20 Apr
2011
20 Apr
'11
1:12 p.m.
On Tue, 2011-04-19 at 10:18 -0600, Stephen Warren wrote:
CONFIG_SND_SOC_TEGRA_WM8903 is useful for many Tegra boards. To avoid the ASoC tegra/Kconfig enumerating them all, instead have the Tegra machine Kconfig select MACH_HAS_SND_SOC_TEGRA_WM8903 where appropriate, and have SND_SOC_TEGRA_WM8903 depend on this.
Signed-off-by: Stephen Warren swarren@nvidia.com
Mark, this will need to be applied to your tegra branch so it can get merged into both trees. Thanks.
v2: s/HAS/WANT/ in Kconfig variable name. I figured a machine "HAVING" a Kconfig variable didn't make much sense. I also wondered about ALLOW/ENABLE. Still, being consistent with existing variable naming is more important that the finer details of English:-)
Acked-by: Liam Girdwood lrg@ti.com