aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rapidio/rio-scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rapidio/rio-scan.c')
-rw-r--r--drivers/rapidio/rio-scan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rapidio/rio-scan.c b/drivers/rapidio/rio-scan.c
index 8070e074c739..1123be8f4b18 100644
--- a/drivers/rapidio/rio-scan.c
+++ b/drivers/rapidio/rio-scan.c
@@ -478,6 +478,7 @@ static struct rio_dev __devinit *rio_setup_device(struct rio_net *net,
478 } 478 }
479 479
480 rdev->dev.bus = &rio_bus_type; 480 rdev->dev.bus = &rio_bus_type;
481 rdev->dev.parent = &rio_bus;
481 482
482 device_initialize(&rdev->dev); 483 device_initialize(&rdev->dev);
483 rdev->dev.release = rio_release_dev; 484 rdev->dev.release = rio_release_dev;