Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/infrastructure/rootvirt/rootvirt.c

    r9d58539 r56fd7cf  
    151151{
    152152        int rc;
    153         const char *name = rvfun->fun->name;
     153        const char *name = ddf_fun_get_name(rvfun->fun);
    154154
    155155        ddf_msg(LVL_DEBUG, "rootvirt_fun_remove('%s')", name);
     
    183183        }
    184184
    185         ddf_msg(LVL_DEBUG, "dev_add(handle=%d)", (int)dev->handle);
     185        ddf_msg(LVL_DEBUG, "dev_add(handle=%d)", (int)ddf_dev_get_handle(dev));
    186186
    187187        rootvirt = ddf_dev_data_alloc(dev, sizeof(rootvirt_t));
     
    207207static int rootvirt_dev_remove(ddf_dev_t *dev)
    208208{
    209         rootvirt_t *rootvirt = (rootvirt_t *)dev->driver_data;
     209        rootvirt_t *rootvirt = (rootvirt_t *)ddf_dev_data_get(dev);
    210210        int rc;
    211211
Note: See TracChangeset for help on using the changeset viewer.