summaryrefslogtreecommitdiffstats
path: root/sound/isa/cmi8328.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-05-12 11:44:54 +0200
committerTakashi Iwai <tiwai@suse.de>2017-05-17 07:13:05 +0200
commit88faa38435cbfdf3e733a670a009683eb7057cdc (patch)
tree00eeb4e611051cff37892d88f627cb5d28cfc254 /sound/isa/cmi8328.c
parentALSA: Use IS_ENABLED() in common headers (diff)
downloadlinux-88faa38435cbfdf3e733a670a009683eb7057cdc.tar.xz
linux-88faa38435cbfdf3e733a670a009683eb7057cdc.zip
ALSA: cmi8238: Use IS_ENABLED()
Simplify the ifdef conditions with IS_ENABLED() macro. No functional changes. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa/cmi8328.c')
-rw-r--r--sound/isa/cmi8328.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/isa/cmi8328.c b/sound/isa/cmi8328.c
index 8e1756c3b9bb..d09e456107ad 100644
--- a/sound/isa/cmi8328.c
+++ b/sound/isa/cmi8328.c
@@ -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