Changeset 9348862 in mainline for uspace/drv/bus/usb/uhci/uhci.c


Ignore:
Timestamp:
2013-09-21T00:43:24Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4cf5b8e0
Parents:
3f03199
Message:

usb: Move HC driver implementation functions to a separate structure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/uhci/uhci.c

    r3f03199 r9348862  
    5757        assert(dev);
    5858        hcd_t *hcd = dev_to_hcd(dev);
    59         if (!hcd || !hcd->private_data) {
     59        if (!hcd || !hcd->driver.data) {
    6060                usb_log_error("Interrupt on not yet initialized device.\n");
    6161                return;
    6262        }
    6363        const uint16_t status = IPC_GET_ARG1(*call);
    64         hc_interrupt(hcd->private_data, status);
     64        hc_interrupt(hcd->driver.data, status);
    6565}
    6666
Note: See TracChangeset for help on using the changeset viewer.