15 May
2017
15 May
'17
11:32 a.m.
Simplify the ifdef conditions with IS_ENABLED() macro. No functional changes.
Signed-off-by: Takashi Iwai tiwai@suse.de --- sound/isa/cmi8328.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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
--
2.12.2