aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/sysdev')
-rw-r--r--arch/powerpc/sysdev/fsl_rio.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/arch/powerpc/sysdev/fsl_rio.c b/arch/powerpc/sysdev/fsl_rio.c
index f95cb5636d19..576b8066089e 100644
--- a/arch/powerpc/sysdev/fsl_rio.c
+++ b/arch/powerpc/sysdev/fsl_rio.c
@@ -1574,18 +1574,10 @@ err_ops:
1574 */ 1574 */
1575static int __devinit fsl_of_rio_rpn_probe(struct platform_device *dev) 1575static int __devinit fsl_of_rio_rpn_probe(struct platform_device *dev)
1576{ 1576{
1577 int rc;
1578 printk(KERN_INFO "Setting up RapidIO peer-to-peer network %s\n", 1577 printk(KERN_INFO "Setting up RapidIO peer-to-peer network %s\n",
1579 dev->dev.of_node->full_name); 1578 dev->dev.of_node->full_name);
1580 1579
1581 rc = fsl_rio_setup(dev); 1580 return fsl_rio_setup(dev);
1582 if (rc)
1583 goto out;
1584
1585 /* Enumerate all registered ports */
1586 rc = rio_init_mports();
1587out:
1588 return rc;
1589}; 1581};
1590 1582
1591static const struct of_device_id fsl_of_rio_rpn_ids[] = { 1583static const struct of_device_id fsl_of_rio_rpn_ids[] = {