summaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorLiam Girdwood <liam.girdwood@wolfsonmicro.com>2006-10-06 18:33:55 +0200
committerJaroslav Kysela <perex@suse.cz>2007-02-09 09:00:19 +0100
commita3288176de3fdd439d9bca0a0b9ca749c12ac5ac (patch)
treea332de50d6782f2edd41a5b75c9f69bf469b2776 /sound/soc
parent2b97eabc09f42d0f63e8053636e34e1afa0d604e (diff)
downloadlinux-a3288176de3fdd439d9bca0a0b9ca749c12ac5ac.tar.bz2
[ALSA] ASoC: Build files
This patch adds support for building the ASoC core and the dynamic audio power management support. Signed-off-by: Liam Girdwood <liam.girdwood@wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/Kconfig19
-rw-r--r--sound/soc/Makefile4
2 files changed, 23 insertions, 0 deletions
diff --git a/sound/soc/Kconfig b/sound/soc/Kconfig
new file mode 100644
index 000000000000..200709f4b708
--- /dev/null
+++ b/sound/soc/Kconfig
@@ -0,0 +1,19 @@
+#
+# SoC audio configuration
+#
+
+menu "SoC audio support"
+ depends on SND!=n
+
+config SND_SOC
+ tristate "SoC audio support"
+ ---help---
+
+ If you want SoC support, you should say Y here and also to the
+ specific driver for your SoC below. You will also need to select the
+ specific codec(s) attached to the SoC
+
+ This SoC audio support can also be built as a module. If so, the module
+ will be called snd-soc-core.
+
+endmenu
diff --git a/sound/soc/Makefile b/sound/soc/Makefile
new file mode 100644
index 000000000000..b211ee63fd76
--- /dev/null
+++ b/sound/soc/Makefile
@@ -0,0 +1,4 @@
+snd-soc-core-objs := soc-core.o soc-dapm.o
+
+obj-$(CONFIG_SND_SOC) += snd-soc-core.o
+