Commit 253e6815 authored by Matt Domsch's avatar Matt Domsch

dynids: use list_add_tail

instead of list_add, such that later entries come later in the scanned list.
parent 57bd7464
......@@ -235,7 +235,7 @@ store_new_id(struct device_driver * driver, const char * buf, size_t count)
driver_data : 0UL;
spin_lock(&pdrv->dynids.lock);
list_add(&pdrv->dynids.list, &dynid->node);
list_add_tail(&pdrv->dynids.list, &dynid->node);
spin_unlock(&pdrv->dynids.lock);
bus = get_bus(pdrv->driver.bus);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment