projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1289e9e
)
ALSA: hda - Check MODULE instead of CONFIG_SND_HDA_INTEL_MODULE
author
Takashi Iwai
<tiwai@suse.de>
Fri, 28 Nov 2008 14:07:37 +0000
(15:07 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Fri, 28 Nov 2008 14:07:37 +0000
(15:07 +0100)
Checking MODULE is more generic.
Also a cosmetic comment change.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/hda/hda_codec.c
b/sound/pci/hda/hda_codec.c
index 4aa7b1b7287775628de898476d408e596b23a9ed..2fff0fb77ba2629bcc712ef16be93e1aa8dad1c6 100644
(file)
--- 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
/*