diff options
author | Takashi Iwai <tiwai@suse.de> | 2017-05-12 11:44:54 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-05-17 07:13:05 +0200 |
commit | 88faa38435cbfdf3e733a670a009683eb7057cdc (patch) | |
tree | 00eeb4e611051cff37892d88f627cb5d28cfc254 /sound/isa/cmi8328.c | |
parent | ALSA: Use IS_ENABLED() in common headers (diff) | |
download | linux-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.c | 2 |
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 |