mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
ALSA: cmi8238: Use IS_ENABLED()
Simplify the ifdef conditions with IS_ENABLED() macro. No functional changes. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
6d2412b80a
commit
88faa38435
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user