|
@@ -1574,18 +1574,10 @@ err_ops:
|
|
|
*/
|
|
|
static int __devinit fsl_of_rio_rpn_probe(struct platform_device *dev)
|
|
|
{
|
|
|
- int rc;
|
|
|
printk(KERN_INFO "Setting up RapidIO peer-to-peer network %s\n",
|
|
|
dev->dev.of_node->full_name);
|
|
|
|
|
|
- rc = fsl_rio_setup(dev);
|
|
|
- if (rc)
|
|
|
- goto out;
|
|
|
-
|
|
|
- /* Enumerate all registered ports */
|
|
|
- rc = rio_init_mports();
|
|
|
-out:
|
|
|
- return rc;
|
|
|
+ return fsl_rio_setup(dev);
|
|
|
};
|
|
|
|
|
|
static const struct of_device_id fsl_of_rio_rpn_ids[] = {
|