aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/fsl_rio.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/sysdev/fsl_rio.c')
-rw-r--r--arch/powerpc/sysdev/fsl_rio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/fsl_rio.c b/arch/powerpc/sysdev/fsl_rio.c
index 5b206a2fe17c..95853386a664 100644
--- a/arch/powerpc/sysdev/fsl_rio.c
+++ b/arch/powerpc/sysdev/fsl_rio.c
@@ -1523,7 +1523,7 @@ int fsl_rio_setup(struct platform_device *dev)
1523 port->priv = priv; 1523 port->priv = priv;
1524 port->phys_efptr = 0x100; 1524 port->phys_efptr = 0x100;
1525 1525
1526 priv->regs_win = ioremap(regs.start, regs.end - regs.start + 1); 1526 priv->regs_win = ioremap(regs.start, resource_size(&regs));
1527 rio_regs_win = priv->regs_win; 1527 rio_regs_win = priv->regs_win;
1528 1528
1529 /* Probe the master port phy type */ 1529 /* Probe the master port phy type */