summaryrefslogtreecommitdiffstats
path: root/src/drivers/linux
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/linux')
-rw-r--r--src/drivers/linux/linux.c1
1 files changed, 1 insertions, 0 deletions
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 {