[ALSA] Add SPI devices to ALSA Kconfig and Makefile
authorHans-Christian Egtvedt <hcegtvedt@atmel.com>
Mon, 23 Jul 2007 13:52:42 +0000 (15:52 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 Oct 2007 13:57:47 +0000 (15:57 +0200)
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>
sound/Kconfig
sound/Makefile
sound/spi/Kconfig [new file with mode: 0644]
sound/spi/Makefile [new file with mode: 0644]

index e48b9b37d228ddec3c0b4172ec493d70ee2f4db4..b2a2db47aff54820e02a635655f4c06ce8a92b1a 100644 (file)
@@ -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"
index 3ead922bd9c6f50b39e650c3e4172fe31798bf80..c76d70716fa537edccbe4ceada9b3eea1fbfa9f4 100644 (file)
@@ -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 (file)
index 0000000..60fbb2a
--- /dev/null
@@ -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 (file)
index 0000000..30d8ec9
--- /dev/null
@@ -0,0 +1,2 @@
+# Makefile for SPI drivers
+