aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorHans-Christian Egtvedt <hcegtvedt@atmel.com>2007-07-23 15:52:42 +0200
committerJaroslav Kysela <perex@perex.cz>2007-10-16 15:57:47 +0200
commit3b0a899ca0fca7801127757cfaafb4d8671793f0 (patch)
treee427fdec2d34d57d5fc9ea10a6a2a303034309a5 /sound
parent9c638cd641f2822ff4a2cdafe4ec415e446a64da (diff)
downloadkernel_samsung_smdk4412-3b0a899ca0fca7801127757cfaafb4d8671793f0.zip
kernel_samsung_smdk4412-3b0a899ca0fca7801127757cfaafb4d8671793f0.tar.gz
kernel_samsung_smdk4412-3b0a899ca0fca7801127757cfaafb4d8671793f0.tar.bz2
[ALSA] Add SPI devices to ALSA Kconfig and Makefile
This patch adds SPI devices in the ALSA diretory, including the Kconfig and Makefile. Signed-off-by: Hans-Christian Egtvedt <hcegtvedt@atmel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound')
-rw-r--r--sound/Kconfig4
-rw-r--r--sound/Makefile3
-rw-r--r--sound/spi/Kconfig6
-rw-r--r--sound/spi/Makefile2
4 files changed, 14 insertions, 1 deletions
diff --git a/sound/Kconfig b/sound/Kconfig
index e48b9b3..b2a2db4 100644
--- a/sound/Kconfig
+++ b/sound/Kconfig
@@ -63,6 +63,10 @@ source "sound/aoa/Kconfig"
source "sound/arm/Kconfig"
+if SPI
+source "sound/spi/Kconfig"
+endif
+
source "sound/mips/Kconfig"
source "sound/sh/Kconfig"
diff --git a/sound/Makefile b/sound/Makefile
index 3ead922..c76d707 100644
--- a/sound/Makefile
+++ b/sound/Makefile
@@ -5,7 +5,8 @@ obj-$(CONFIG_SOUND) += soundcore.o
obj-$(CONFIG_SOUND_PRIME) += sound_firmware.o
obj-$(CONFIG_SOUND_PRIME) += oss/
obj-$(CONFIG_DMASOUND) += oss/
-obj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ sh/ synth/ usb/ sparc/ parisc/ pcmcia/ mips/ soc/
+obj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ sh/ synth/ usb/ \
+ sparc/ spi/ parisc/ pcmcia/ mips/ soc/
obj-$(CONFIG_SND_AOA) += aoa/
# This one must be compilable even if sound is configured out
diff --git a/sound/spi/Kconfig b/sound/spi/Kconfig
new file mode 100644
index 0000000..60fbb2a
--- /dev/null
+++ b/sound/spi/Kconfig
@@ -0,0 +1,6 @@
+#SPI drivers
+
+menu "SPI devices"
+ depends on SND != n
+
+endmenu
diff --git a/sound/spi/Makefile b/sound/spi/Makefile
new file mode 100644
index 0000000..30d8ec9
--- /dev/null
+++ b/sound/spi/Makefile
@@ -0,0 +1,2 @@
+# Makefile for SPI drivers
+