[alsa-devel] [PATCH 8/9] ARM: DaVinci: ASoC: Adds header file for DM646X DIT/DIR driver
Naresh Medisetty
naresh at ti.com
Mon Mar 16 13:06:07 CET 2009
Adds header file for DM646X DIT/DIR driver
Signed-off-by: Naresh Medisetty <naresh at ti.com>
---
This patch applies on the ASoC tree available at http://opensource.wolfsonmicro.com/cgi-bin/gitweb.cgi?p=linux-2.6-asoc.git;a=commit;h=168776ef58d38503f8ac4f8a7eb1039137208032.
sound/soc/codecs/codec_stubs.h | 23 +++++++++++++++++++++++
1 files changed, 23 insertions(+), 0 deletions(-)
create mode 100644 sound/soc/codecs/codec_stubs.h
diff --git a/sound/soc/codecs/codec_stubs.h b/sound/soc/codecs/codec_stubs.h
new file mode 100644
index 0000000..693797b
--- /dev/null
+++ b/sound/soc/codecs/codec_stubs.h
@@ -0,0 +1,23 @@
+/*
+ * ALSA SoC DIT/DIR driver header
+ *
+ * Author: Steve Chen, <schen at mvista.com>
+ * Copyright: (C) 2008 MontaVista Software, Inc., <source at mvista.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef CODEC_STUBS_H
+#define CODEC_STUBS_H
+
+#ifdef CONFIG_SND_SOC_CODEC_STUBS
+extern struct snd_soc_dai dit_stub_dai[];
+extern struct snd_soc_dai dir_stub_dai[];
+#else
+#define dit_stub_dai NULL
+#define dir_stub_dai NULL
+#endif
+
+#endif /* CODEC_STUBS_H */
--
1.5.6
More information about the Alsa-devel
mailing list