* Finalize all devices in the global device tree. * * Starting at the root device, call the device's final() method to do * device-specific cleanup, then call each child's final() method. */
| 636 | * device-specific cleanup, then call each child's final() method. |
| 637 | */ |
| 638 | void dev_finalize(void) |
| 639 | { |
| 640 | printk(BIOS_INFO, "Finalize devices...\n"); |
| 641 | |
| 642 | /* First call the mainboard finalize. */ |
| 643 | final_dev(&dev_root); |
| 644 | |
| 645 | /* Now finalize everything. */ |
| 646 | final_link(dev_root.downstream); |
| 647 | |
| 648 | printk(BIOS_INFO, "Devices finalized\n"); |
| 649 | } |
no test coverage detected