Fork us on GitHub Follow us on Facebook Follow us on Twitter

Ignore:
Timestamp:
2012-08-17T11:37:03Z (9 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
1d5a540
Parents:
be2a38ad
Message:

Make ddf_dev_t and ddf_fun_t opaque. This further tighthens the DDF interface.

File:
1 edited

Legend:

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

    rbe2a38ad 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.