Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/vhc/main.c

    r58563585 rb7fd2a0  
    4949};
    5050
    51 static int vhc_control_node(ddf_dev_t *dev, ddf_fun_t **fun)
     51static errno_t vhc_control_node(ddf_dev_t *dev, ddf_fun_t **fun)
    5252{
    5353        assert(dev);
     
    6363        }
    6464        ddf_fun_set_ops(*fun, &vhc_ops);
    65         const int ret = ddf_fun_bind(*fun);
     65        const errno_t ret = ddf_fun_bind(*fun);
    6666        if (ret != EOK) {
    6767                ddf_fun_destroy(*fun);
     
    7777};
    7878
    79 static int vhc_dev_add(ddf_dev_t *dev)
     79static errno_t vhc_dev_add(ddf_dev_t *dev)
    8080{
    8181        /* Initialize virtual structure */
    8282        ddf_fun_t *ctl_fun = NULL;
    83         int ret = vhc_control_node(dev, &ctl_fun);
     83        errno_t ret = vhc_control_node(dev, &ctl_fun);
    8484        if (ret != EOK) {
    8585                usb_log_error("Failed to setup control node.\n");
Note: See TracChangeset for help on using the changeset viewer.