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

Ignore:
Timestamp:
2011-11-14T20:50:08Z (11 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial
Children:
765678f, d5ba17f
Parents:
612ad864
Message:

Rename DDF entry point add_device to dev_add.

File:
1 edited

Legend:

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

    r612ad864 r0c0f823b  
    6262};
    6363
    64 static int rootvirt_add_device(ddf_dev_t *dev);
     64static int rootvirt_dev_add(ddf_dev_t *dev);
    6565static int rootvirt_dev_remove(ddf_dev_t *dev);
    6666static int rootvirt_fun_online(ddf_fun_t *fun);
     
    6868
    6969static driver_ops_t rootvirt_ops = {
    70         .add_device = &rootvirt_add_device,
     70        .dev_add = &rootvirt_dev_add,
    7171        .dev_remove = &rootvirt_dev_remove,
    7272        .fun_online = &rootvirt_fun_online,
     
    172172
    173173
    174 static int rootvirt_add_device(ddf_dev_t *dev)
     174static int rootvirt_dev_add(ddf_dev_t *dev)
    175175{
    176176        rootvirt_t *rootvirt;
     
    183183        }
    184184
    185         ddf_msg(LVL_DEBUG, "add_device(handle=%d)", (int)dev->handle);
     185        ddf_msg(LVL_DEBUG, "dev_add(handle=%d)", (int)dev->handle);
    186186
    187187        rootvirt = ddf_dev_data_alloc(dev, sizeof(rootvirt_t));
Note: See TracChangeset for help on using the changeset viewer.