Changeset 5cd136ab in mainline for uspace/srv/devman/devman.h


Ignore:
Timestamp:
2010-04-02T13:37:58Z (14 years ago)
Author:
Lenka Trochtova <trochtova.lenka@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9a66bc2
Parents:
57937dd
Message:

device interfaces and driver cooperation - parts of code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/devman/devman.h

    r57937dd r5cd136ab  
    238238}
    239239
     240/**
     241 * Delete a device node.
     242 *
     243 * @param node a device node structure.
     244 *
     245 */
    240246static inline void delete_dev_node(node_t *node)
    241247{
     
    263269}
    264270
     271node_t * find_dev_node_by_path(dev_tree_t *tree, char *path);
     272node_t *find_node_child(node_t *parent, const char *name);
     273
    265274// Device tree
    266275
    267276bool init_device_tree(dev_tree_t *tree, driver_list_t *drivers_list);
    268277bool create_root_node(dev_tree_t *tree);
    269 bool insert_dev_node(dev_tree_t *tree, node_t *node, const char *dev_name, node_t *parent);
     278bool insert_dev_node(dev_tree_t *tree, node_t *node, char *dev_name, node_t *parent);
    270279
    271280#endif
Note: See TracChangeset for help on using the changeset viewer.