|
@@ -491,6 +491,7 @@ int fsl_rio_setup(struct platform_device *dev)
|
|
rmu_node = of_parse_phandle(dev->dev.of_node, "fsl,srio-rmu-handle", 0);
|
|
rmu_node = of_parse_phandle(dev->dev.of_node, "fsl,srio-rmu-handle", 0);
|
|
if (!rmu_node) {
|
|
if (!rmu_node) {
|
|
dev_err(&dev->dev, "No valid fsl,srio-rmu-handle property\n");
|
|
dev_err(&dev->dev, "No valid fsl,srio-rmu-handle property\n");
|
|
|
|
+ rc = -ENOENT;
|
|
goto err_rmu;
|
|
goto err_rmu;
|
|
}
|
|
}
|
|
rc = of_address_to_resource(rmu_node, 0, &rmu_regs);
|
|
rc = of_address_to_resource(rmu_node, 0, &rmu_regs);
|