Commit 645f10c1 authored by Takashi Iwai's avatar Takashi Iwai

ALSA: hda - Check MODULE instead of CONFIG_SND_HDA_INTEL_MODULE

Checking MODULE is more generic.
Also a cosmetic comment change.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 1289e9e8
...@@ -530,10 +530,10 @@ EXPORT_SYMBOL_GPL(snd_hda_bus_new); ...@@ -530,10 +530,10 @@ EXPORT_SYMBOL_GPL(snd_hda_bus_new);
#define is_generic_config(codec) 0 #define is_generic_config(codec) 0
#endif #endif
#ifdef CONFIG_SND_HDA_INTEL_MODULE #ifdef MODULE
#define HDA_MODREQ_MAX_COUNT 2 /* two request_modules()'s */ #define HDA_MODREQ_MAX_COUNT 2 /* two request_modules()'s */
#else #else
#define HDA_MODREQ_MAX_COUNT 0 #define HDA_MODREQ_MAX_COUNT 0 /* all presets are statically linked */
#endif #endif
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment