Update bus_setup_intr().

Pointed by: Krassimir Slavchev
This commit is contained in:
piso 2007-03-01 09:10:55 +00:00
parent 18480644ca
commit 4ead5c57e5

View File

@ -99,8 +99,8 @@ ohci_atmelarm_attach(device_t dev)
}
device_set_ivars(sc->sc_ohci.sc_bus.bdev, &sc->sc_ohci.sc_bus);
err = bus_setup_intr(dev, sc->sc_ohci.irq_res, INTR_TYPE_BIO, ohci_intr, sc,
&sc->sc_ohci.ih);
err = bus_setup_intr(dev, sc->sc_ohci.irq_res, INTR_TYPE_BIO, NULL,
ohci_intr, sc, &sc->sc_ohci.ih);
if (err) {
err = ENXIO;
goto error;