summaryrefslogtreecommitdiffstats
path: root/drivers/eisa/virtual_root.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/eisa/virtual_root.c')
-rw-r--r--drivers/eisa/virtual_root.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/eisa/virtual_root.c b/drivers/eisa/virtual_root.c
index 3074879f231f..535e4f9c83f4 100644
--- a/drivers/eisa/virtual_root.c
+++ b/drivers/eisa/virtual_root.c
@@ -57,7 +57,7 @@ static int __init virtual_eisa_root_init (void)
eisa_bus_root.force_probe = force_probe;
- eisa_root_dev.dev.driver_data = &eisa_bus_root;
+ dev_set_drvdata(&eisa_root_dev.dev, &eisa_bus_root);
if (eisa_root_register (&eisa_bus_root)) {
/* A real bridge may have been registered before