summaryrefslogtreecommitdiffstats
path: root/sound/pci/ymfpci/ymfpci.h
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/ymfpci/ymfpci.h
parent658355b599c700c9826f581d087cbd9c26c2cb56 (diff)
downloadlinux-b2fac0730347d591b528d8f0e4a9438c1bb6f558.tar.gz
linux-b2fac0730347d591b528d8f0e4a9438c1bb6f558.tar.bz2
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/ymfpci/ymfpci.h')
-rw-r--r--sound/pci/ymfpci/ymfpci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/ymfpci/ymfpci.h b/sound/pci/ymfpci/ymfpci.h
index 149d4cb46998..aa9bb065f385 100644
--- a/sound/pci/ymfpci/ymfpci.h
+++ b/sound/pci/ymfpci/ymfpci.h
@@ -176,7 +176,7 @@
#define YMFPCI_LEGACY2_IMOD (1 << 15) /* legacy IRQ mode */
/* SIEN:IMOD 0:0 = legacy irq, 0:1 = INTA, 1:0 = serialized IRQ */
-#if defined(CONFIG_GAMEPORT) || (defined(MODULE) && defined(CONFIG_GAMEPORT_MODULE))
+#if IS_REACHABLE(CONFIG_GAMEPORT)
#define SUPPORT_JOYSTICK
#endif