Ignore:
Timestamp:
Apr 13, 2015, 8:49:47 AM (7 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
4.11, 5, master
Children:
246fe22
Parents:
bf2c3f8b
git-author:
Daniel Hellstrom <daniel@…> (04/13/15 08:49:47)
git-committer:
Daniel Hellstrom <daniel@…> (04/16/15 23:10:29)
Message:

DRVMGR: renamed private drv_mgr and its struct name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libdrvmgr/drvmgr_for_each_dev.c

    rbf2c3f8b rbb2f220  
    2525        pos = 0;
    2626        memset(&buses[0], 0, sizeof(buses));
    27         buses[pos++] = drv_mgr.root_dev.bus;    /* Get root bus */
     27        buses[pos++] = drvmgr.root_dev.bus;     /* Get root bus */
    2828
    2929        for (i = 0, bus = buses[0]; buses[i]; i++, bus = buses[i]) {
     
    5353
    5454        /* Get first device */
    55         dev = drv_mgr.root_dev.bus->children;
     55        dev = drvmgr.root_dev.bus->children;
    5656
    5757        while (dev) {
     
    6666                                /* Step up one level... back to parent bus */
    6767                                dev = dev->parent->dev;
    68                                 if (dev == &drv_mgr.root_dev)
     68                                if (dev == &drvmgr.root_dev)
    6969                                        break;
    7070                                goto next_dev;
     
    9090
    9191        /* Get Root Device */
    92         if (drv_mgr.root_dev.bus->children != NULL) {
     92        if (drvmgr.root_dev.bus->children != NULL) {
    9393                if (options & DRVMGR_FED_BF)
    9494                        ret = drvmgr_for_each_dev_breadth(func, arg);
Note: See TracChangeset for help on using the changeset viewer.