Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ehci/res.c

    rb7fd2a0 r53a309e  
    6262 * @return Error code.
    6363 */
    64 static errno_t disable_extended_caps(async_sess_t *parent_sess, unsigned eecp)
     64static int disable_extended_caps(async_sess_t *parent_sess, unsigned eecp)
    6565{
    6666        /* nothing to do */
     
    7070        /* Read the first EEC. i.e. Legacy Support register */
    7171        uint32_t usblegsup;
    72         errno_t ret = pci_config_space_read_32(parent_sess,
     72        int ret = pci_config_space_read_32(parent_sess,
    7373            eecp + USBLEGSUP_OFFSET, &usblegsup);
    7474        if (ret != EOK) {
     
    172172}
    173173
    174 errno_t disable_legacy(ddf_dev_t *device)
     174int disable_legacy(ddf_dev_t *device)
    175175{
    176176        assert(device);
     
    184184        hw_res_list_parsed_t res;
    185185        hw_res_list_parsed_init(&res);
    186         errno_t ret = hw_res_get_list_parsed(parent_sess, &res, 0);
     186        int ret = hw_res_get_list_parsed(parent_sess, &res, 0);
    187187        if (ret != EOK) {
    188188                usb_log_error("Failed to get resource list: %s\n",
Note: See TracChangeset for help on using the changeset viewer.