]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Fix leftover ifdef checks after modularization
authorTakashi Iwai <tiwai@suse.de>
Thu, 6 Feb 2014 17:14:03 +0000 (18:14 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 7 Feb 2014 11:13:25 +0000 (12:13 +0100)
commitddbe813443c89c5555116bf546437c0e0f97e745
tree33cb1d0bfe4947d02b3db01abddf0aba537a765c
parent0bfb5eaf0c818b519512161bc812ab085162c00e
ALSA: hda - Fix leftover ifdef checks after modularization

Since the commit [7f5de5c7e21d: ALSA: hda - Make
CONFIG_SND_HDA_CODEC_* tristate], the kconfig variables for the
generic parser and codec drivers can be "m" instead of boolean, but
some codes are left unchanged to check only #ifdef
CONFIG_SND_HDA_CODEC_XXX, which is no longer true for modules.
This patch fixes them by replacing with IS_ENABLED() macros.

Fixes: 7f5de5c7e21d ('ALSA: hda - Make CONFIG_SND_HDA_CODEC_* tristate')
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=70161
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_intel.c