summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-11-28 15:07:37 +0100
committerTakashi Iwai <tiwai@suse.de>2008-11-28 15:07:37 +0100
commit645f10c1ac7f733b224eaf97634edf9b20e2370e (patch)
treee06e2a6d7d981b74227d26c80a248f0faa712e82 /sound
parent1289e9e8b42f973f2ab39e5f4f2239ff826c27e9 (diff)
downloadop-kernel-dev-645f10c1ac7f733b224eaf97634edf9b20e2370e.zip
op-kernel-dev-645f10c1ac7f733b224eaf97634edf9b20e2370e.tar.gz
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
/*
OpenPOWER on IntegriCloud