diff options
Diffstat (limited to 'drivers/eisa/virtual_root.c')
-rw-r--r-- | drivers/eisa/virtual_root.c | 2 |
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) | |||
57 | 57 | ||
58 | eisa_bus_root.force_probe = force_probe; | 58 | eisa_bus_root.force_probe = force_probe; |
59 | 59 | ||
60 | eisa_root_dev.dev.driver_data = &eisa_bus_root; | 60 | dev_set_drvdata(&eisa_root_dev.dev, &eisa_bus_root); |
61 | 61 | ||
62 | if (eisa_root_register (&eisa_bus_root)) { | 62 | if (eisa_root_register (&eisa_bus_root)) { |
63 | /* A real bridge may have been registered before | 63 | /* A real bridge may have been registered before |