Skip to content
Commit 8eeaa2f9 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
parent 0a11458c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment