[alsa-devel] [PATCH v3 2/4] ARM: tegra: Add Harmony sound platform data type

Colin Cross ccross at google.com
Fri Jan 21 19:43:26 CET 2011


On Thu, Jan 20, 2011 at 12:52 PM, Stephen Warren <swarren at nvidia.com> wrote:
> Signed-off-by: Stephen Warren <swarren at nvidia.com>
> ---
>  arch/arm/mach-tegra/include/mach/harmony_audio.h |   19 +++++++++++++++++++
>  1 files changed, 19 insertions(+), 0 deletions(-)
>  create mode 100644 arch/arm/mach-tegra/include/mach/harmony_audio.h
>
> diff --git a/arch/arm/mach-tegra/include/mach/harmony_audio.h b/arch/arm/mach-tegra/include/mach/harmony_audio.h
> new file mode 100644
> index 0000000..5c46391
> --- /dev/null
> +++ b/arch/arm/mach-tegra/include/mach/harmony_audio.h
> @@ -0,0 +1,19 @@
> +/*
> + * arch/arm/mach-tegra/include/mach/harmony_audio.h
> + *
> + * Copyright 2011 NVIDIA, Inc.
> + *
> + * This software is licensed under the terms of the GNU General Public
> + * License version 2, as published by the Free Software Foundation, and
> + * may be copied, distributed, and modified under those terms.
> + *
> + * This program is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> + * GNU General Public License for more details.
> + *
> + */
> +
> +struct harmony_audio_platform_data {
> +       int gpio_spkr_en;
> +};
> --
> 1.7.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

Does this file really belong in mach-tegra if its for a driver that is
in a common directory (drivers/sound/soc)?  Putting it in
include/linux would solve all your tree-ordering problems.


More information about the Alsa-devel mailing list