Changeset a9f91cd in mainline for uspace/drv/uhci-hcd/uhci.c


Ignore:
Timestamp:
2011-03-13T18:09:16Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
335382d, f123909
Parents:
9351353
Message:

Refactoring final touches

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci-hcd/uhci.c

    r9351353 ra9f91cd  
    5454{
    5555        assert(dev);
    56         uhci_hc_t *hc = dev_to_uhci(dev);
     56        uhci_hc_t *hc = &((uhci_t*)dev->driver_data)->hc;
    5757        uint16_t status = IPC_GET_ARG1(*call);
    5858        assert(hc);
    59         uhci_interrupt(hc, status);
     59        uhci_hc_interrupt(hc, status);
    6060}
    6161/*----------------------------------------------------------------------------*/
     
    188188        if (instance->rh_fun) \
    189189                ddf_fun_destroy(instance->rh_fun); \
    190         uhci_fini(&instance->hc); \
     190        uhci_hc_fini(&instance->hc); \
    191191        return ret; \
    192192}
Note: See TracChangeset for help on using the changeset viewer.