summaryrefslogtreecommitdiffstats
path: root/sound/pci/sonicvibes.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2016-11-12 23:26:41 +0100
committerTakashi Iwai <tiwai@suse.de>2016-11-13 21:33:41 +0100
commitb2fac0730347d591b528d8f0e4a9438c1bb6f558 (patch)
tree17c99d770da97612c8fdd6d60bab3fb20556c1ca /sound/pci/sonicvibes.c
parentALSA: oss: don't opencode IS_REACHABLE() (diff)
downloadlinux-b2fac0730347d591b528d8f0e4a9438c1bb6f558.tar.xz
linux-b2fac0730347d591b528d8f0e4a9438c1bb6f558.zip
ALSA: pci: don't opencode IS_REACHABLE()
Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/sonicvibes.c')
-rw-r--r--sound/pci/sonicvibes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/sonicvibes.c b/sound/pci/sonicvibes.c
index e1a13870bb80..a6aa48c5b969 100644
--- a/sound/pci/sonicvibes.c
+++ b/sound/pci/sonicvibes.c
@@ -45,7 +45,7 @@ MODULE_DESCRIPTION("S3 SonicVibes PCI");
MODULE_LICENSE("GPL");
MODULE_SUPPORTED_DEVICE("{{S3,SonicVibes PCI}}");
-#if defined(CONFIG_GAMEPORT) || (defined(MODULE) && defined(CONFIG_GAMEPORT_MODULE))
+#if IS_REACHABLE(CONFIG_GAMEPORT)
#define SUPPORT_JOYSTICK 1
#endif