summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>1999-07-21 16:19:56 +0000
committerNiels Provos <provos@cvs.openbsd.org>1999-07-21 16:19:56 +0000
commit381176f6a197c6b2d76921c4410187f73cd13d78 (patch)
tree5e0f597d1d3fdf1ffeaa02db95eb8eccadc67ea0 /sys/dev
parent70951ef16f323613dff761e88c9ec9e1dee342fe (diff)
make it compile without midi.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/isa/ym.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/ym.c b/sys/dev/isa/ym.c
index e1e5309b492..ea4b11a68f9 100644
--- a/sys/dev/isa/ym.c
+++ b/sys/dev/isa/ym.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ym.c,v 1.6 1999/07/20 16:36:05 deraadt Exp $ */
+/* $OpenBSD: ym.c,v 1.7 1999/07/21 16:19:55 provos Exp $ */
/*
@@ -130,9 +130,9 @@ int
ym_intr(v)
void *v;
{
+#if NMIDI > 0
struct ym_softc *sc = v;
-#if NMIDI > 0
if ( /* XXX && */ sc->sc_hasmpu)
mpu_intr(&sc->sc_mpu_sc);
#endif