Commit 88faa384 authored by Takashi Iwai's avatar Takashi Iwai

ALSA: cmi8238: Use IS_ENABLED()

Simplify the ifdef conditions with IS_ENABLED() macro.
No functional changes.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 6d2412b8
...@@ -26,7 +26,7 @@ MODULE_AUTHOR("Ondrej Zary <linux@rainbow-software.org>"); ...@@ -26,7 +26,7 @@ MODULE_AUTHOR("Ondrej Zary <linux@rainbow-software.org>");
MODULE_DESCRIPTION("C-Media CMI8328"); MODULE_DESCRIPTION("C-Media CMI8328");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
#if defined(CONFIG_GAMEPORT) || defined(CONFIG_GAMEPORT_MODULE) #if IS_ENABLED(CONFIG_GAMEPORT)
#define SUPPORT_JOYSTICK 1 #define SUPPORT_JOYSTICK 1
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment