Browse Source

ALSA: hda/ca0132 - Declare firmware only when really built

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai 12 years ago
parent
commit
7a527edee4
1 changed files with 2 additions and 0 deletions
  1. 2 0
      sound/pci/hda/patch_ca0132.c

+ 2 - 0
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" };