summaryrefslogtreecommitdiff
path: root/sound/pci/hda/patch_ca0132.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-01-15 17:44:20 +0100
committerTakashi Iwai <tiwai@suse.de>2013-01-15 17:49:45 +0100
commit7a527edee43a3c6c861e4a269f2bd3799b9bf8e8 (patch)
treed77a601cb45ee953736e712122a074b215f29db2 /sound/pci/hda/patch_ca0132.c
parent8ae3124b8f0f3f97f928be22ccc816118d4b0ecb (diff)
downloadlwn-7a527edee43a3c6c861e4a269f2bd3799b9bf8e8.tar.gz
lwn-7a527edee43a3c6c861e4a269f2bd3799b9bf8e8.zip
ALSA: hda/ca0132 - Declare firmware only when really built
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_ca0132.c')
-rw-r--r--sound/pci/hda/patch_ca0132.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c
index cc6c8a590316..70a2c552c49c 100644
--- a/sound/pci/hda/patch_ca0132.c
+++ b/sound/pci/hda/patch_ca0132.c
@@ -75,7 +75,9 @@
#define EFX_FILE "ctefx.bin"
+#ifdef CONFIG_SND_HDA_DSP_LOADER
MODULE_FIRMWARE(EFX_FILE);
+#endif
static char *dirstr[2] = { "Playback", "Capture" };