summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/controller/ohci_atmelarm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/controller/ohci_atmelarm.c')
-rw-r--r--sys/dev/usb/controller/ohci_atmelarm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/controller/ohci_atmelarm.c b/sys/dev/usb/controller/ohci_atmelarm.c
index 0f213c5..a757611 100644
--- a/sys/dev/usb/controller/ohci_atmelarm.c
+++ b/sys/dev/usb/controller/ohci_atmelarm.c
@@ -73,7 +73,7 @@ ohci_atmelarm_attach(device_t dev)
sc->sc_ohci.sc_bus.devices_max = OHCI_MAX_DEVICES;
/* get all DMA memory */
- if (usb2_bus_mem_alloc_all(&sc->sc_ohci.sc_bus,
+ if (usb_bus_mem_alloc_all(&sc->sc_ohci.sc_bus,
USB_GET_DMA_TAG(dev), &ohci_iterate_hw_softc)) {
return (ENOMEM);
}
@@ -191,7 +191,7 @@ ohci_atmelarm_detach(device_t dev)
sc->sc_ohci.sc_io_res);
sc->sc_ohci.sc_io_res = NULL;
}
- usb2_bus_mem_free_all(&sc->sc_ohci.sc_bus, &ohci_iterate_hw_softc);
+ usb_bus_mem_free_all(&sc->sc_ohci.sc_bus, &ohci_iterate_hw_softc);
return (0);
}
OpenPOWER on IntegriCloud