diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-04-05 15:14:52 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-04-05 16:57:37 -0400 |
commit | a7fda2ba82b7531158c68f700fa806e645ff3b7c (patch) | |
tree | 177af2fff5df90f98ff43b8de83ae9e133acbdbd /sound/soc/tegra | |
parent | 063dd9d4488184f35c4598fb68f46fbba959d58e (diff) |
ASoC: tegra: make Tegra20 drivers depend on Tegra20 support
Without this, the Tegra20 drivers can be built into a kernel that's
built only for Tegra30.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/tegra')
-rw-r--r-- | sound/soc/tegra/Kconfig | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sound/soc/tegra/Kconfig b/sound/soc/tegra/Kconfig index 16632b1be150..d51945e78017 100644 --- a/sound/soc/tegra/Kconfig +++ b/sound/soc/tegra/Kconfig | |||
@@ -6,7 +6,7 @@ config SND_SOC_TEGRA | |||
6 | 6 | ||
7 | config SND_SOC_TEGRA_DAS | 7 | config SND_SOC_TEGRA_DAS |
8 | tristate | 8 | tristate |
9 | depends on SND_SOC_TEGRA | 9 | depends on SND_SOC_TEGRA && ARCH_TEGRA_2x_SOC |
10 | help | 10 | help |
11 | Say Y or M if you want to add support for the Tegra DAS module. | 11 | Say Y or M if you want to add support for the Tegra DAS module. |
12 | You will also need to select the individual machine drivers to | 12 | You will also need to select the individual machine drivers to |
@@ -14,7 +14,7 @@ config SND_SOC_TEGRA_DAS | |||
14 | 14 | ||
15 | config SND_SOC_TEGRA_I2S | 15 | config SND_SOC_TEGRA_I2S |
16 | tristate | 16 | tristate |
17 | depends on SND_SOC_TEGRA | 17 | depends on SND_SOC_TEGRA && ARCH_TEGRA_2x_SOC |
18 | select SND_SOC_TEGRA_DAS | 18 | select SND_SOC_TEGRA_DAS |
19 | help | 19 | help |
20 | Say Y or M if you want to add support for codecs attached to the | 20 | Say Y or M if you want to add support for codecs attached to the |
@@ -23,7 +23,7 @@ config SND_SOC_TEGRA_I2S | |||
23 | 23 | ||
24 | config SND_SOC_TEGRA_SPDIF | 24 | config SND_SOC_TEGRA_SPDIF |
25 | tristate | 25 | tristate |
26 | depends on SND_SOC_TEGRA | 26 | depends on SND_SOC_TEGRA && ARCH_TEGRA_2x_SOC |
27 | default m | 27 | default m |
28 | help | 28 | help |
29 | Say Y or M if you want to add support for the SPDIF interface. | 29 | Say Y or M if you want to add support for the SPDIF interface. |
@@ -41,7 +41,7 @@ config SND_SOC_TEGRA_WM8903 | |||
41 | tristate "SoC Audio support for Tegra boards using a WM8903 codec" | 41 | tristate "SoC Audio support for Tegra boards using a WM8903 codec" |
42 | depends on SND_SOC_TEGRA && I2C | 42 | depends on SND_SOC_TEGRA && I2C |
43 | depends on MACH_HAS_SND_SOC_TEGRA_WM8903 | 43 | depends on MACH_HAS_SND_SOC_TEGRA_WM8903 |
44 | select SND_SOC_TEGRA_I2S | 44 | select SND_SOC_TEGRA_I2S if ARCH_TEGRA_2x_SOC |
45 | select SND_SOC_WM8903 | 45 | select SND_SOC_WM8903 |
46 | help | 46 | help |
47 | Say Y or M here if you want to add support for SoC audio on Tegra | 47 | Say Y or M here if you want to add support for SoC audio on Tegra |
@@ -51,7 +51,7 @@ config SND_SOC_TEGRA_WM8903 | |||
51 | config SND_SOC_TEGRA_TRIMSLICE | 51 | config SND_SOC_TEGRA_TRIMSLICE |
52 | tristate "SoC Audio support for TrimSlice board" | 52 | tristate "SoC Audio support for TrimSlice board" |
53 | depends on SND_SOC_TEGRA && MACH_TRIMSLICE && I2C | 53 | depends on SND_SOC_TEGRA && MACH_TRIMSLICE && I2C |
54 | select SND_SOC_TEGRA_I2S | 54 | select SND_SOC_TEGRA_I2S if ARCH_TEGRA_2x_SOC |
55 | select SND_SOC_TLV320AIC23 | 55 | select SND_SOC_TLV320AIC23 |
56 | help | 56 | help |
57 | Say Y or M here if you want to add support for SoC audio on the | 57 | Say Y or M here if you want to add support for SoC audio on the |
@@ -60,7 +60,7 @@ config SND_SOC_TEGRA_TRIMSLICE | |||
60 | config SND_SOC_TEGRA_ALC5632 | 60 | config SND_SOC_TEGRA_ALC5632 |
61 | tristate "SoC Audio support for Tegra boards using an ALC5632 codec" | 61 | tristate "SoC Audio support for Tegra boards using an ALC5632 codec" |
62 | depends on SND_SOC_TEGRA && I2C | 62 | depends on SND_SOC_TEGRA && I2C |
63 | select SND_SOC_TEGRA_I2S | 63 | select SND_SOC_TEGRA_I2S if ARCH_TEGRA_2x_SOC |
64 | select SND_SOC_ALC5632 | 64 | select SND_SOC_ALC5632 |
65 | help | 65 | help |
66 | Say Y or M here if you want to add support for SoC audio on the | 66 | Say Y or M here if you want to add support for SoC audio on the |