aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mse
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2006-02-22 18:16:26 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2006-02-22 18:16:26 +0000
commit57fb5e60974fbb2770aa12b4a72114660228c236 (patch)
tree804a52776d979b0d584c9efe815d95731c11d05d /sys/dev/mse
parentf8e3eeb519c0641c05bd194209731daa2aca30b1 (diff)
Notes
Diffstat (limited to 'sys/dev/mse')
-rw-r--r--sys/dev/mse/mse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mse/mse.c b/sys/dev/mse/mse.c
index 1c2a986b9583..025faea0a577 100644
--- a/sys/dev/mse/mse.c
+++ b/sys/dev/mse/mse.c
@@ -134,7 +134,7 @@ mse_common_attach(device_t dev)
return ENXIO;
}
- if (BUS_SETUP_INTR(device_get_parent(dev), dev, sc->sc_intr,
+ if (bus_setup_intr(dev, sc->sc_intr,
INTR_TYPE_TTY, mseintr, sc, &sc->sc_ih)) {
bus_release_resource(dev, SYS_RES_IOPORT, rid, sc->sc_port);
bus_release_resource(dev, SYS_RES_IRQ, rid, sc->sc_intr);