diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-11-28 09:07:37 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-11-28 09:07:37 -0500 |
commit | 645f10c1ac7f733b224eaf97634edf9b20e2370e (patch) | |
tree | e06e2a6d7d981b74227d26c80a248f0faa712e82 | |
parent | 1289e9e8b42f973f2ab39e5f4f2239ff826c27e9 (diff) |
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>
-rw-r--r-- | sound/pci/hda/hda_codec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index 4aa7b1b72877..2fff0fb77ba2 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); | |||
530 | #define is_generic_config(codec) 0 | 530 | #define is_generic_config(codec) 0 |
531 | #endif | 531 | #endif |
532 | 532 | ||
533 | #ifdef CONFIG_SND_HDA_INTEL_MODULE | 533 | #ifdef MODULE |
534 | #define HDA_MODREQ_MAX_COUNT 2 /* two request_modules()'s */ | 534 | #define HDA_MODREQ_MAX_COUNT 2 /* two request_modules()'s */ |
535 | #else | 535 | #else |
536 | #define HDA_MODREQ_MAX_COUNT 0 | 536 | #define HDA_MODREQ_MAX_COUNT 0 /* all presets are statically linked */ |
537 | #endif | 537 | #endif |
538 | 538 | ||
539 | /* | 539 | /* |