Skip to content

Commit

Permalink
[ALSA] Add SPI devices to ALSA Kconfig and Makefile
Browse files Browse the repository at this point in the history
This patch adds SPI devices in the ALSA diretory, including the Kconfig and
Makefile.

Signed-off-by: Hans-Christian Egtvedt <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Signed-off-by: Jaroslav Kysela <[email protected]>
  • Loading branch information
Hans-Christian Egtvedt authored and perexg committed Oct 16, 2007
1 parent 9c638cd commit 3b0a899
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
4 changes: 4 additions & 0 deletions sound/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion sound/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions sound/spi/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#SPI drivers

menu "SPI devices"
depends on SND != n

endmenu
2 changes: 2 additions & 0 deletions sound/spi/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Makefile for SPI drivers

0 comments on commit 3b0a899

Please sign in to comment.