Changes in uspace/drv/infrastructure/rootvirt/rootvirt.c [56fd7cf:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/infrastructure/rootvirt/rootvirt.c
r56fd7cf r9d58539 151 151 { 152 152 int rc; 153 const char *name = ddf_fun_get_name(rvfun->fun);153 const char *name = rvfun->fun->name; 154 154 155 155 ddf_msg(LVL_DEBUG, "rootvirt_fun_remove('%s')", name); … … 183 183 } 184 184 185 ddf_msg(LVL_DEBUG, "dev_add(handle=%d)", (int)d df_dev_get_handle(dev));185 ddf_msg(LVL_DEBUG, "dev_add(handle=%d)", (int)dev->handle); 186 186 187 187 rootvirt = ddf_dev_data_alloc(dev, sizeof(rootvirt_t)); … … 207 207 static int rootvirt_dev_remove(ddf_dev_t *dev) 208 208 { 209 rootvirt_t *rootvirt = (rootvirt_t *)d df_dev_data_get(dev);209 rootvirt_t *rootvirt = (rootvirt_t *)dev->driver_data; 210 210 int rc; 211 211
Note:
See TracChangeset
for help on using the changeset viewer.