Skip to content

Commit

Permalink
ALSA: cmi8238: Use IS_ENABLED()
Browse files Browse the repository at this point in the history
Simplify the ifdef conditions with IS_ENABLED() macro.
No functional changes.

Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
tiwai committed May 17, 2017
1 parent 6d2412b commit 88faa38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/isa/cmi8328.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ MODULE_AUTHOR("Ondrej Zary <[email protected]>");
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

Expand Down

0 comments on commit 88faa38

Please sign in to comment.