From: Hans-Christian Egtvedt <hcegtvedt@atmel.com>
To: alsa-devel@alsa-project.org
Cc: kernel@avr32linux.org, Hans-Christian Egtvedt <hcegtvedt@atmel.com>
Subject: [PATCH 1/2] Add SPI devices to ALSA Kconfig and Makefile
Date: Mon, 16 Jul 2007 16:14:58 +0200 [thread overview]
Message-ID: <11845952993023-git-send-email-hcegtvedt@atmel.com> (raw)
This patch adds SPI devices in the ALSA diretory, including the Kconfig and
Makefile.
Signed-off-by: Hans-Christian Egtvedt <hcegtvedt@atmel.com>
---
sound/Kconfig | 6 +++++-
sound/Makefile | 3 ++-
sound/spi/Kconfig | 6 ++++++
sound/spi/Makefile | 2 ++
4 files changed, 15 insertions(+), 2 deletions(-)
create mode 100644 sound/spi/Kconfig
create mode 100644 sound/spi/Makefile
diff --git a/sound/Kconfig b/sound/Kconfig
index 9ea4738..9217739 100644
--- a/sound/Kconfig
+++ b/sound/Kconfig
@@ -63,9 +63,13 @@ source "sound/aoa/Kconfig"
source "sound/arm/Kconfig"
+if SPI
+source "sound/spi/Kconfig"
+endif
+
source "sound/mips/Kconfig"
-# the following will depend on the order of config.
+# tee following will depend on the order of config.
# here assuming USB is defined before ALSA
source "sound/usb/Kconfig"
diff --git a/sound/Makefile b/sound/Makefile
index b7c7fb7..581ea5e 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/ synth/ usb/ sparc/ parisc/ pcmcia/ mips/ soc/
+obj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ 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 0000000..60fbb2a
--- /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 0000000..30d8ec9
--- /dev/null
+++ b/sound/spi/Makefile
@@ -0,0 +1,2 @@
+# Makefile for SPI drivers
+
--
1.5.2.3
next reply other threads:[~2007-07-16 14:13 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-16 14:14 Hans-Christian Egtvedt [this message]
2007-07-16 14:14 ` [PATCH 2/2] ALSA sound driver for the AT73C213 DAC using Atmel SSC driver Hans-Christian Egtvedt
2007-07-16 14:15 ` Takashi Iwai
2007-07-16 14:25 ` Hans-Christian Egtvedt
2007-07-16 14:30 ` Takashi Iwai
2007-07-16 14:39 ` Takashi Iwai
2007-07-16 14:46 ` Hans-Christian Egtvedt
2007-07-16 14:47 ` Takashi Iwai
2007-07-16 14:43 ` Hans-Christian Egtvedt
2007-07-16 14:48 ` Takashi Iwai
2007-07-16 15:08 ` Takashi Iwai
2007-07-16 15:27 ` Haavard Skinnemoen
2007-07-16 15:32 ` Takashi Iwai
2007-07-17 8:37 ` Hans-Christian Egtvedt
2007-07-17 8:48 ` Haavard Skinnemoen
2007-07-17 8:54 ` Hans-Christian Egtvedt
2007-07-17 10:23 ` Takashi Iwai
2007-07-17 11:23 ` Hans-Christian Egtvedt
2007-07-17 11:36 ` Haavard Skinnemoen
2007-07-23 14:49 ` Takashi Iwai
2007-07-26 6:21 ` Hans-Christian Egtvedt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=11845952993023-git-send-email-hcegtvedt@atmel.com \
--to=hcegtvedt@atmel.com \
--cc=alsa-devel@alsa-project.org \
--cc=kernel@avr32linux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox