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)
commitf8f1becfa4ac3231da55de68698cf7facf089646
tree33cb1d0bfe4947d02b3db01abddf0aba537a765c
parent276ab336b4c6e483d12fd46cbf24f97f71867710
ALSA: hda - Fix leftover ifdef checks after modularization

Since the commit [595fe1b702c3: 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: 595fe1b702c3 ('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