summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
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