aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1999-05-02 20:40:28 +0000
committerPeter Wemm <peter@FreeBSD.org>1999-05-02 20:40:28 +0000
commitcf52c04ff20f150ddb1a85cb426c7dc96790c13d (patch)
tree0c164369670d87e0f8e154d0b1920816edd23295 /sys
parentedfdec1910142388b904566cfb6dd831593e922e (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/isa/sound/soundcard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/isa/sound/soundcard.c b/sys/i386/isa/sound/soundcard.c
index 6c306c9139b3f..57320ba7c4e15 100644
--- a/sys/i386/isa/sound/soundcard.c
+++ b/sys/i386/isa/sound/soundcard.c
@@ -437,7 +437,7 @@ sndattach(struct isa_device * dev)
if (strcmp(dname, "uart0") == 0)
dev->id_ointr = m6850intr;
#endif
-#if NMPU > 0
+#if NMPU > 0 && defined(CONFIG_MIDI)
if (strcmp(dname, "mpu") == 0)
dev->id_ointr = mpuintr;
#endif