summaryrefslogtreecommitdiffstats
path: root/sys/dev/rc/rc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/rc/rc.c')
-rw-r--r--sys/dev/rc/rc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/rc/rc.c b/sys/dev/rc/rc.c
index 1da5067..0c11358 100644
--- a/sys/dev/rc/rc.c
+++ b/sys/dev/rc/rc.c
@@ -304,8 +304,8 @@ rc_attach(device_t dev)
ttycreate(tp, TS_CALLOUT, "m%d", chan + base);
}
- error = bus_setup_intr(dev, sc->sc_irq, INTR_TYPE_TTY, rc_intr, sc,
- &sc->sc_hwicookie);
+ error = bus_setup_intr(dev, sc->sc_irq, INTR_TYPE_TTY, NULL, rc_intr,
+ sc, &sc->sc_hwicookie);
if (error) {
device_printf(dev, "failed to register interrupt handler\n");
goto fail;
OpenPOWER on IntegriCloud