]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ALSA: hda - Check MODULE instead of CONFIG_SND_HDA_INTEL_MODULE
authorTakashi Iwai <tiwai@suse.de>
Fri, 28 Nov 2008 14:07:37 +0000 (15:07 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 28 Nov 2008 14:07:37 +0000 (15:07 +0100)
Checking MODULE is more generic.
Also a cosmetic comment change.

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

index 4aa7b1b7287775628de898476d408e596b23a9ed..2fff0fb77ba2629bcc712ef16be93e1aa8dad1c6 100644 (file)
@@ -530,10 +530,10 @@ EXPORT_SYMBOL_GPL(snd_hda_bus_new);
 #define is_generic_config(codec)       0
 #endif
 
-#ifdef CONFIG_SND_HDA_INTEL_MODULE
+#ifdef MODULE
 #define HDA_MODREQ_MAX_COUNT   2       /* two request_modules()'s */
 #else
-#define HDA_MODREQ_MAX_COUNT   0
+#define HDA_MODREQ_MAX_COUNT   0       /* all presets are statically linked */
 #endif
 
 /*