Update bus_setup_intr().
Pointed by: Krassimir Slavchev
This commit is contained in:
parent
18480644ca
commit
4ead5c57e5
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user