Changeset ca2a18e in mainline
- Timestamp:
- 2011-02-03T16:18:28Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9c31643
- Parents:
- 0f1cf7a
- Location:
- uspace/srv
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/devman.c
r0f1cf7a rca2a18e 1063 1063 if (info != NULL) { 1064 1064 memset(info, 0, sizeof(dev_class_info_t)); 1065 li st_initialize(&info->dev_classes);1066 li st_initialize(&info->devmap_link);1067 li st_initialize(&info->link);1065 link_initialize(&info->dev_classes); 1066 link_initialize(&info->devmap_link); 1067 link_initialize(&info->link); 1068 1068 } 1069 1069 -
uspace/srv/devmap/devmap.c
r0f1cf7a rca2a18e 423 423 */ 424 424 list_initialize(&driver->devices); 425 list_initialize(&(driver->drivers)); 425 426 link_initialize(&driver->drivers); 426 427 427 428 fibril_mutex_lock(&drivers_list_mutex); … … 538 539 } 539 540 540 li st_initialize(&(device->devices));541 li st_initialize(&(device->driver_devices));541 link_initialize(&device->devices); 542 link_initialize(&device->driver_devices); 542 543 543 544 /* Check that device is not already registered */ … … 942 943 } 943 944 944 li st_initialize(&(device->devices));945 li st_initialize(&(device->driver_devices));945 link_initialize(&device->devices); 946 link_initialize(&device->driver_devices); 946 947 947 948 /* Get unique device handle */
Note:
See TracChangeset
for help on using the changeset viewer.