Changeset 98b52e3 in rtems for cpukit/libdrvmgr/drvmgr.c


Ignore:
Timestamp:
Dec 4, 2017, 7:48:10 AM (2 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
bc5b56a
Parents:
61bd8cd6
git-author:
Sebastian Huber <sebastian.huber@…> (12/04/17 07:48:10)
git-committer:
Sebastian Huber <sebastian.huber@…> (12/06/17 06:13:04)
Message:

drvmgr: Use API mutex

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libdrvmgr/drvmgr.c

    r61bd8cd6 r98b52e3  
    3131        .level =                0,
    3232        .initializing_objs =    0,
    33         .lock =                 0,
     33        .lock =                 API_MUTEX_INITIALIZER("_Drvmgr"),
    3434        .root_dev =             {0},
    3535        .root_drv =             NULL,
     
    9696{
    9797        drvmgr_drv_reg_func *drvreg;
    98 
    99         /* drvmgr is already initialized statically by compiler except
    100          * the lock
    101          */
    102         DRVMGR_LOCK_INIT();
    10398
    10499        /* Call driver register functions. */
Note: See TracChangeset for help on using the changeset viewer.