From fc7e2be617df0f671977655249f5c6a04a0ba04f Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 7 Apr 2011 20:59:47 +0100 Subject: [device] Make driver name a generic device property Signed-off-by: Michael Brown --- src/drivers/linux/linux.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/drivers/linux') diff --git a/src/drivers/linux/linux.c b/src/drivers/linux/linux.c index 1f26f5663..83546b27e 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 { -- cgit v1.2.3-55-g7522