projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d2412b
)
ALSA: cmi8238: Use IS_ENABLED()
author
Takashi Iwai
<tiwai@suse.de>
Fri, 12 May 2017 09:44:54 +0000
(11:44 +0200)
committer
Takashi 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
patch
|
blob
|
history
diff --git
a/sound/isa/cmi8328.c
b/sound/isa/cmi8328.c
index 8e1756c3b9bb9a5729bab4cf0f35f8e75c85d01a..d09e456107ad0d0f1940fc7405cb51103c191637 100644
(file)
--- 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