From 3b0a899ca0fca7801127757cfaafb4d8671793f0 Mon Sep 17 00:00:00 2001 From: Hans-Christian Egtvedt Date: Mon, 23 Jul 2007 15:52:42 +0200 Subject: [PATCH] [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 Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- sound/Kconfig | 4 ++++ sound/Makefile | 3 ++- sound/spi/Kconfig | 6 ++++++ sound/spi/Makefile | 2 ++ 4 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 sound/spi/Kconfig create mode 100644 sound/spi/Makefile diff --git a/sound/Kconfig b/sound/Kconfig index e48b9b37d2..b2a2db47af 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 3ead922bd9..c76d70716f 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 0000000000..60fbb2ad87 --- /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 0000000000..30d8ec97cf --- /dev/null +++ b/sound/spi/Makefile @@ -0,0 +1,2 @@ +# Makefile for SPI drivers + -- 2.39.5