Skip to content

Commit

Permalink
ALSA: hda - Check MODULE instead of CONFIG_SND_HDA_INTEL_MODULE
Browse files Browse the repository at this point in the history
Checking MODULE is more generic.
Also a cosmetic comment change.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai committed Nov 28, 2008
1 parent 1289e9e commit 645f10c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/pci/hda/hda_codec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

/*
Expand Down

0 comments on commit 645f10c

Please sign in to comment.