Browse Source

[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>
Hans-Christian Egtvedt 18 years ago
parent
commit
3b0a899ca0
4 changed files with 14 additions and 1 deletions
  1. 4 0
      sound/Kconfig
  2. 2 1
      sound/Makefile
  3. 6 0
      sound/spi/Kconfig
  4. 2 0
      sound/spi/Makefile

+ 4 - 0
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"

+ 2 - 1
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

+ 6 - 0
sound/spi/Kconfig

@@ -0,0 +1,6 @@
+#SPI drivers
+
+menu "SPI devices"
+	depends on SND != n
+
+endmenu

+ 2 - 0
sound/spi/Makefile

@@ -0,0 +1,2 @@
+# Makefile for SPI drivers
+