Browse Source

Fix device list of drivers in use

main
PaulStoffregen 7 years ago
parent
commit
2b0fda8a11
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      enumeration.cpp

+ 1
- 4
enumeration.cpp View File

available_drivers = driver->next; available_drivers = driver->next;
} }
// add to list of drivers using this device // add to list of drivers using this device
if (dev->drivers) {
dev->drivers->next = driver;
}
driver->next = dev->drivers;
dev->drivers = driver; dev->drivers = driver;
driver->next = NULL;
driver->device = dev; driver->device = dev;
// not done, may be more interface for more drivers // not done, may be more interface for more drivers
} }

Loading…
Cancel
Save