From: Takashi Iwai Date: Fri, 28 Nov 2008 14:07:37 +0000 (+0100) Subject: ALSA: hda - Check MODULE instead of CONFIG_SND_HDA_INTEL_MODULE X-Git-Tag: v2.6.29-rc1~590^2~6^2~25^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=645f10c1ac7f733b224eaf97634edf9b20e2370e;p=linux-2.6-omap-h63xx.git 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 --- diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index 4aa7b1b7287..2fff0fb77ba 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 /*