[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>
This commit is contained in:
Hans-Christian Egtvedt 2007-07-23 15:52:42 +02:00 committed by Jaroslav Kysela
parent 9c638cd641
commit 3b0a899ca0
4 changed files with 14 additions and 1 deletions

View 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"

View 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

6
sound/spi/Kconfig Normal file
View File

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

2
sound/spi/Makefile Normal file
View File

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