[ALSA] hdsp - Fix compilation with hdsp driver built in kernel
authorTakashi Iwai <tiwai@suse.de>
Mon, 22 May 2006 12:31:57 +0000 (14:31 +0200)
committerJaroslav Kysela <perex@suse.cz>
Thu, 22 Jun 2006 19:33:55 +0000 (21:33 +0200)
Fixed the compilation with hdsp driver built in kernel.
The traditional hwdep loader is used in this case.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/rme9652/hdsp.c

index da63a1a19958e0ab20eba7bb7fef7412a1d6c2f8..bf89ab9e3138b9eae10bf33556c7b6edae162dd5 100644 (file)
@@ -389,7 +389,7 @@ MODULE_SUPPORTED_DEVICE("{{RME Hammerfall-DSP},"
 
 /* use hotplug firmeare loader? */
 #if defined(CONFIG_FW_LOADER) || defined(CONFIG_FW_LOADER_MODULE)
-#ifndef HDSP_USE_HWDEP_LOADER
+#if !defined(HDSP_USE_HWDEP_LOADER) && !defined(CONFIG_SND_HDSP)
 #define HDSP_FW_LOADER
 #endif
 #endif