Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci-rhd/root_hub.c

    rf9c03b5 rf123909  
    5151        assert(instance);
    5252        assert(rh);
     53        int ret;
    5354
    5455        /* Allow access to root hub port registers */
    5556        assert(sizeof(port_status_t) * UHCI_ROOT_HUB_PORT_COUNT <= size);
    5657        port_status_t *regs;
    57         int ret = pio_enable(addr, size, (void**)&regs);
     58        ret = pio_enable(addr, size, (void**)&regs);
    5859        if (ret < 0) {
    5960                usb_log_error(
     
    8384 *
    8485 * @param[in] instance Root hub structure to use.
     86 * @return Error code.
    8587 */
    86 void uhci_root_hub_fini(uhci_root_hub_t* instance)
     88int uhci_root_hub_fini(uhci_root_hub_t* instance)
    8789{
    8890        assert(instance);
     
    9193                uhci_port_fini(&instance->ports[i]);
    9294        }
     95        return EOK;
    9396}
    9497/*----------------------------------------------------------------------------*/
Note: See TracChangeset for help on using the changeset viewer.