Changes in uspace/lib/drv/generic/driver.c [b454a22:58563585] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/driver.c
rb454a22 r58563585 126 126 return; 127 127 } 128 128 129 129 ddf_dev_t *dev = create_device(); 130 130 if (!dev) { … … 133 133 return; 134 134 } 135 135 136 136 /* Add one reference that will be dropped by driver_dev_remove() */ 137 137 dev_add_ref(dev); … … 786 786 assert(fun->bound == false); 787 787 assert(fun->name != NULL); 788 assert(fun->dev != NULL); 788 789 789 790 add_to_functions_list(fun); … … 890 891 891 892 /** Set function ops. */ 892 void ddf_fun_set_ops(ddf_fun_t *fun, ddf_dev_ops_t *dev_ops)893 void ddf_fun_set_ops(ddf_fun_t *fun, const ddf_dev_ops_t *dev_ops) 893 894 { 894 895 assert(fun->conn_handler == NULL);
Note:
See TracChangeset
for help on using the changeset viewer.