summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-11-28 14:07:37 (GMT)
committerTakashi Iwai <tiwai@suse.de>2008-11-28 14:07:37 (GMT)
commit645f10c1ac7f733b224eaf97634edf9b20e2370e (patch)
treee06e2a6d7d981b74227d26c80a248f0faa712e82 /sound
parent1289e9e8b42f973f2ab39e5f4f2239ff826c27e9 (diff)
downloadlinux-fsl-qoriq-645f10c1ac7f733b224eaf97634edf9b20e2370e.tar.xz
ALSA: hda - Check MODULE instead of CONFIG_SND_HDA_INTEL_MODULE
Checking MODULE is more generic. Also a cosmetic comment change. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/hda_codec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c
index 4aa7b1b..2fff0fb 100644
--- a/sound/pci/hda/hda_codec.c
+++ b/sound/pci/hda/hda_codec.c
@@ -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
/*