summaryrefslogtreecommitdiffstats
path: root/sound/pci/cs5535audio/Makefile
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-07-26 19:10:47 +0200
committerJaroslav Kysela <perex@perex.cz>2007-10-16 15:58:05 +0200
commit52a6db82efe345af62aa72c6ce9dcb89a4d993b5 (patch)
tree27f82c0cf86953755c4e6c63266d8c4874b6ca53 /sound/pci/cs5535audio/Makefile
parent[ALSA] Fix build error without CONFIG_HAS_DMA (diff)
downloadlinux-52a6db82efe345af62aa72c6ce9dcb89a4d993b5.tar.xz
linux-52a6db82efe345af62aa72c6ce9dcb89a4d993b5.zip
[ALSA] Clean up Makefile
Clean up Makefile using xxx- style instead of ifeq(CONFIG_XXX,y). Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci/cs5535audio/Makefile')
-rw-r--r--sound/pci/cs5535audio/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/sound/pci/cs5535audio/Makefile b/sound/pci/cs5535audio/Makefile
index ad947b4c04cc..bb3d57e6a3cb 100644
--- a/sound/pci/cs5535audio/Makefile
+++ b/sound/pci/cs5535audio/Makefile
@@ -2,11 +2,8 @@
# Makefile for cs5535audio
#
-snd-cs5535audio-objs := cs5535audio.o cs5535audio_pcm.o
-
-ifeq ($(CONFIG_PM),y)
-snd-cs5535audio-objs += cs5535audio_pm.o
-endif
+snd-cs5535audio-y := cs5535audio.o cs5535audio_pcm.o
+snd-cs5535audio-$(CONFIG_PM) += cs5535audio_pm.o
# Toplevel Module Dependency
obj-$(CONFIG_SND_CS5535AUDIO) += snd-cs5535audio.o