Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/driver.c

    rb454a22 r58563585  
    126126                return;
    127127        }
    128 
     128       
    129129        ddf_dev_t *dev = create_device();
    130130        if (!dev) {
     
    133133                return;
    134134        }
    135 
     135       
    136136        /* Add one reference that will be dropped by driver_dev_remove() */
    137137        dev_add_ref(dev);
     
    786786        assert(fun->bound == false);
    787787        assert(fun->name != NULL);
     788        assert(fun->dev != NULL);
    788789       
    789790        add_to_functions_list(fun);
     
    890891
    891892/** Set function ops. */
    892 void ddf_fun_set_ops(ddf_fun_t *fun, ddf_dev_ops_t *dev_ops)
     893void ddf_fun_set_ops(ddf_fun_t *fun, const ddf_dev_ops_t *dev_ops)
    893894{
    894895        assert(fun->conn_handler == NULL);
Note: See TracChangeset for help on using the changeset viewer.