summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 6c306c9..57320ba 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
OpenPOWER on IntegriCloud