summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@nvidia.com>2013-08-19 20:50:48 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-13 22:41:41 -0700
commitcfecdbb2ff2e399b554e1a3921b5aa06c149be2d (patch)
tree8c3cb2e4b81f2f24be12c6b0479151cd73992a49 /include/sound
parentd4f56bce3ec55ba08efad8c8d60c0fbd7d72c60b (diff)
Revert "ASoC: tegra_wm8903: assume CONFIG_OF, remove platform data"
This reverts commit 8f5f5e0f459d37273f841e3f8da38b4e242c8e94. Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/tegra_wm8903.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/sound/tegra_wm8903.h b/include/sound/tegra_wm8903.h
new file mode 100644
index 000000000000..57b202ee97c3
--- /dev/null
+++ b/include/sound/tegra_wm8903.h
@@ -0,0 +1,26 @@
+/*
+ * 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.
+ *
+ */
+
+#ifndef __SOUND_TEGRA_WM38903_H
+#define __SOUND_TEGRA_WM38903_H
+
+struct tegra_wm8903_platform_data {
+ int gpio_spkr_en;
+ int gpio_hp_det;
+ int gpio_hp_mute;
+ int gpio_int_mic_en;
+ int gpio_ext_mic_en;
+};
+
+#endif