diff options
author | Michael Brown | 2011-04-07 21:59:47 +0200 |
---|---|---|
committer | Michael Brown | 2011-04-08 00:09:19 +0200 |
commit | fc7e2be617df0f671977655249f5c6a04a0ba04f (patch) | |
tree | e0b37397cdfb2e4d588ec5c34fa9f05bb41719d4 /src/drivers/linux | |
parent | [build] Refuse to attempt building with the GNU gold linker (diff) | |
download | ipxe-fc7e2be617df0f671977655249f5c6a04a0ba04f.tar.gz ipxe-fc7e2be617df0f671977655249f5c6a04a0ba04f.tar.xz ipxe-fc7e2be617df0f671977655249f5c6a04a0ba04f.zip |
[device] Make driver name a generic device property
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/linux')
-rw-r--r-- | src/drivers/linux/linux.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/linux/linux.c b/src/drivers/linux/linux.c index 1f26f566..83546b27 100644 --- a/src/drivers/linux/linux.c +++ b/src/drivers/linux/linux.c @@ -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 { |