[PATCH v2] ARM: tegra: only select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC

Colin Cross ccross at android.com
Tue Jul 26 19:00:20 EDT 2011


On Tue, Jul 26, 2011 at 8:48 AM, Stephen Warren <swarren at nvidia.com> wrote:
> Uwe Kleine-König wrote at Tuesday, July 26, 2011 2:16 AM:
>> This fixes:
>>       warning: (MACH_HARMONY && MACH_KAEN && MACH_SEABOARD) selects MACH_HAS_SND_SOC_TEGRA_WM8903
>> which has unmet direct dependencies (SOUND && !M68K && SND && SND_SOC)
>>
>> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
>
> Acked-by: Stephen Warren <swarren at nvidia.com>
>
> (I'm also CC'ing the various maintainers explicitly, so they see the patch,
> and can decide which git tree to take this through)

Acked-By: Colin Cross <ccross at android.com>

Arnd, can you take this?

>> ---
>> Changes since (implicit) v1:
>>  - correctly depend on SND_SOC instead of the non-existent SOUND_SOC
>>  - fix commit log accordingly
>>
>> Thanks to Stephen Warren for noticing.
>>
>> Best regards
>> Uwe
>>
>>  arch/arm/mach-tegra/Kconfig |    6 +++---
>>  1 files changed, 3 insertions(+), 3 deletions(-)
>>
>> diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig
>> index 5ec1846..fec64f3 100644
>> --- a/arch/arm/mach-tegra/Kconfig
>> +++ b/arch/arm/mach-tegra/Kconfig
>> @@ -27,14 +27,14 @@ comment "Tegra board type"
>>
>>  config MACH_HARMONY
>>         bool "Harmony board"
>> -       select MACH_HAS_SND_SOC_TEGRA_WM8903
>> +       select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC
>>         help
>>           Support for nVidia Harmony development platform
>>
>>  config MACH_KAEN
>>         bool "Kaen board"
>>         select MACH_SEABOARD
>> -       select MACH_HAS_SND_SOC_TEGRA_WM8903
>> +       select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC
>>         help
>>           Support for the Kaen version of Seaboard
>>
>> @@ -45,7 +45,7 @@ config MACH_PAZ00
>>
>>  config MACH_SEABOARD
>>         bool "Seaboard board"
>> -       select MACH_HAS_SND_SOC_TEGRA_WM8903
>> +       select MACH_HAS_SND_SOC_TEGRA_WM8903 if SND_SOC
>>         help
>>           Support for nVidia Seaboard development platform. It will
>>        also be included for some of the derivative boards that
>> --
>> 1.7.5.4
>
> --
> nvpublic
>
>



More information about the linux-arm-kernel mailing list