mirror of
https://github.com/ipxe/ipxe
synced 2025-12-23 05:21:49 +03:00
[device] Make driver name a generic device property
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -75,6 +75,7 @@ static int linux_probe(struct root_device *rootdev)
|
||||
|
||||
if (driver->probe(device, request) == 0) {
|
||||
device->driver = driver;
|
||||
device->dev.driver_name = driver->name;
|
||||
/* Driver handled the device so release ownership */
|
||||
device = NULL;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user