summaryrefslogtreecommitdiffstats
path: root/sound/pci/trident
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/trident
parent658355b599c700c9826f581d087cbd9c26c2cb56 (diff)
downloadlinux-b2fac0730347d591b528d8f0e4a9438c1bb6f558.tar.bz2
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/trident')
-rw-r--r--sound/pci/trident/trident_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/trident/trident_main.c b/sound/pci/trident/trident_main.c
index 27f0ed840979..92ad2d7a6bf8 100644
--- a/sound/pci/trident/trident_main.c
+++ b/sound/pci/trident/trident_main.c
@@ -3120,7 +3120,7 @@ static int snd_trident_mixer(struct snd_trident *trident, int pcm_spdif_device)
* gameport interface
*/
-#if defined(CONFIG_GAMEPORT) || (defined(MODULE) && defined(CONFIG_GAMEPORT_MODULE))
+#if IS_REACHABLE(CONFIG_GAMEPORT)
static unsigned char snd_trident_gameport_read(struct gameport *gameport)
{