[device] Make driver name a generic device property

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2011-04-07 20:59:47 +01:00
parent 6e6ecacebf
commit fc7e2be617
12 changed files with 14 additions and 16 deletions

View File

@@ -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 {