Commit 03f67433 authored by Stephen Warren's avatar Stephen Warren Committed by Mark Brown

ASoC: tegra: move platform data header

Move the Tegra+WM8903 ASoC platform data header out of
arch/arm/mach-tegra, as a pre-requisite of single zImage.
Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 5d86e25c
/* /*
* arch/arm/mach-tegra/include/mach/tegra_wm8903_pdata.h
*
* Copyright 2011 NVIDIA, Inc. * Copyright 2011 NVIDIA, Inc.
* *
* This software is licensed under the terms of the GNU General Public * This software is licensed under the terms of the GNU General Public
...@@ -14,6 +12,9 @@ ...@@ -14,6 +12,9 @@
* *
*/ */
#ifndef __SOUND_TEGRA_WM38903_H
#define __SOUND_TEGRA_WM38903_H
struct tegra_wm8903_platform_data { struct tegra_wm8903_platform_data {
int gpio_spkr_en; int gpio_spkr_en;
int gpio_hp_det; int gpio_hp_det;
...@@ -21,3 +22,5 @@ struct tegra_wm8903_platform_data { ...@@ -21,3 +22,5 @@ struct tegra_wm8903_platform_data {
int gpio_int_mic_en; int gpio_int_mic_en;
int gpio_ext_mic_en; int gpio_ext_mic_en;
}; };
#endif
...@@ -34,13 +34,12 @@ ...@@ -34,13 +34,12 @@
#include <linux/gpio.h> #include <linux/gpio.h>
#include <linux/of_gpio.h> #include <linux/of_gpio.h>
#include <mach/tegra_wm8903_pdata.h>
#include <sound/core.h> #include <sound/core.h>
#include <sound/jack.h> #include <sound/jack.h>
#include <sound/pcm.h> #include <sound/pcm.h>
#include <sound/pcm_params.h> #include <sound/pcm_params.h>
#include <sound/soc.h> #include <sound/soc.h>
#include <sound/tegra_wm8903.h>
#include "../codecs/wm8903.h" #include "../codecs/wm8903.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment