Changeset ca2a18e in mainline for uspace/srv/devmap/devmap.c


Ignore:
Timestamp:
2011-02-03T16:18:28Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9c31643
Parents:
0f1cf7a
Message:

Fix some list_initialize() vs. link_initialize().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/devmap/devmap.c

    r0f1cf7a rca2a18e  
    423423         */
    424424        list_initialize(&driver->devices);
    425         list_initialize(&(driver->drivers));
     425
     426        link_initialize(&driver->drivers);
    426427       
    427428        fibril_mutex_lock(&drivers_list_mutex);
     
    538539        }
    539540       
    540         list_initialize(&(device->devices));
    541         list_initialize(&(device->driver_devices));
     541        link_initialize(&device->devices);
     542        link_initialize(&device->driver_devices);
    542543       
    543544        /* Check that device is not already registered */
     
    942943        }
    943944       
    944         list_initialize(&(device->devices));
    945         list_initialize(&(device->driver_devices));
     945        link_initialize(&device->devices);
     946        link_initialize(&device->driver_devices);
    946947       
    947948        /* Get unique device handle */
Note: See TracChangeset for help on using the changeset viewer.