summaryrefslogtreecommitdiffstats
path: root/sound/pci/cs5535audio/Makefile
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-12-10 17:23:24 +0100
committerTakashi Iwai <tiwai@suse.de>2008-12-10 17:23:24 +0100
commitf144b7f6679d9833bd3b94b91e452592b6d0e502 (patch)
tree56187934d7878e129cd43e496fee540be45a869d /sound/pci/cs5535audio/Makefile
parent0fb497f5b6ff8da1e9e60afb39835f40d7f043ec (diff)
downloadop-kernel-dev-f144b7f6679d9833bd3b94b91e452592b6d0e502.zip
op-kernel-dev-f144b7f6679d9833bd3b94b91e452592b6d0e502.tar.gz
ALSA: cs5535 - Make OLPC-stuff depending on MGEODE_LX
The GPIO stuff for OLPC in cs5535audio_olpc.c is implemented only for Geode-LX, and enabled only when CONFIG_MGEODE_LX=y. Without this config option, the driver gets build errors. This patch adds a workaround to make it dependent on CONFIG_MGEODE_LX. Ideally, the OLPC-GPIO stuff should be implemented in a way independent from CPU type selection... Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/cs5535audio/Makefile')
-rw-r--r--sound/pci/cs5535audio/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/cs5535audio/Makefile b/sound/pci/cs5535audio/Makefile
index ccc6422..fda7a94 100644
--- a/sound/pci/cs5535audio/Makefile
+++ b/sound/pci/cs5535audio/Makefile
@@ -4,7 +4,9 @@
snd-cs5535audio-y := cs5535audio.o cs5535audio_pcm.o
snd-cs5535audio-$(CONFIG_PM) += cs5535audio_pm.o
+ifdef CONFIG_MGEODE_LX
snd-cs5535audio-$(CONFIG_OLPC) += cs5535audio_olpc.o
+endif
# Toplevel Module Dependency
obj-$(CONFIG_SND_CS5535AUDIO) += snd-cs5535audio.o
OpenPOWER on IntegriCloud