ALSA: cmi8238: Use IS_ENABLED()
authorTakashi Iwai <tiwai@suse.de>
Fri, 12 May 2017 09:44:54 +0000 (11:44 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 17 May 2017 05:13:05 +0000 (07:13 +0200)
Simplify the ifdef conditions with IS_ENABLED() macro.
No functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/cmi8328.c

index 8e1756c3b9bb9a5729bab4cf0f35f8e75c85d01a..d09e456107ad0d0f1940fc7405cb51103c191637 100644 (file)
@@ -26,7 +26,7 @@ MODULE_AUTHOR("Ondrej Zary <linux@rainbow-software.org>");
 MODULE_DESCRIPTION("C-Media CMI8328");
 MODULE_LICENSE("GPL");
 
-#if defined(CONFIG_GAMEPORT) || defined(CONFIG_GAMEPORT_MODULE)
+#if IS_ENABLED(CONFIG_GAMEPORT)
 #define SUPPORT_JOYSTICK 1
 #endif