summaryrefslogtreecommitdiffstats
path: root/sys/dev/ppbus/ppi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ppbus/ppi.c')
-rw-r--r--sys/dev/ppbus/ppi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ppbus/ppi.c b/sys/dev/ppbus/ppi.c
index 35be2db..c6ab7a7 100644
--- a/sys/dev/ppbus/ppi.c
+++ b/sys/dev/ppbus/ppi.c
@@ -276,8 +276,9 @@ ppiopen(struct cdev *dev, int flags, int fmt, struct thread *td)
#ifdef PERIPH_1284
if (ppi->intr_resource) {
/* register our interrupt handler */
- bus_setup_intr(ppidev, ppi->intr_resource,
- INTR_TYPE_TTY, ppiintr, dev, &ppi->intr_cookie);
+ bus_setup_intr(ppidev, ppi->intr_resource,
+ INTR_TYPE_TTY, NULL, ppiintr, dev,
+ &ppi->intr_cookie);
}
#endif /* PERIPH_1284 */
}
OpenPOWER on IntegriCloud