]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - sound/core/pcm_native.c
ALSA: Replace with IS_ENABLED()
authorTakashi Iwai <tiwai@suse.de>
Mon, 10 Feb 2014 08:48:47 +0000 (09:48 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 10 Feb 2014 10:42:00 +0000 (11:42 +0100)
commit8eeaa2f9e06dcfb45593a0fcd91e81abc7f5d209
tree9edb1030921070d747288d4cea33dc8500dd1a5c
parent0a11458cbbb81d044c8fc5a77a7584cd33f08c48
ALSA: Replace with IS_ENABLED()

Replace the lengthy #if defined(XXX) || defined(XXX_MODULE) with the
new IS_ENABLED() macro.

The patch still doesn't cover all ifdefs.  For example, the dependency
on CONFIG_GAMEPORT is still open-coded because this also has an extra
dependency on MODULE.  Similarly, an open-coded ifdef in pcm_oss.c and
some sequencer-related stuff are left untouched.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/control.c
sound/core/info.c
sound/core/init.c
sound/core/pcm.c
sound/core/pcm_native.c
sound/core/rtctimer.c
sound/core/sound_oss.c
sound/core/timer.c
sound/drivers/opl3/opl3_synth.c
sound/pci/hda/hda_intel.c