aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRoel Kluin <12o3l@tiscali.nl>2007-11-07 17:22:48 -0500
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>2007-11-19 09:20:37 -0500
commit2ae24c521a9793e36b1a2311fa64915c2e7b1b7b (patch)
tree51e27a6d851234c0aa6011e3f006e03170342037 /arch
parent221fe3a4be6aa742693f3a82824235c82d41846f (diff)
[POWERPC] 4xx: balance ioremap/ioumap calls for Yucca
Call iounmap before returning from an error case. Signed-off-by: Roel Kluin <12o3l@tiscali.nl> Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/ppc/platforms/4xx/yucca.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ppc/platforms/4xx/yucca.c b/arch/ppc/platforms/4xx/yucca.c
index a83b0baea011..66a44ff0d926 100644
--- a/arch/ppc/platforms/4xx/yucca.c
+++ b/arch/ppc/platforms/4xx/yucca.c
@@ -211,6 +211,7 @@ static void __init yucca_setup_pcie_fpga_rootpoint(int port)
211 break; 211 break;
212 212
213 default: 213 default:
214 iounmap(pcie_reg_fpga_base);
214 return; 215 return;
215 } 216 }
216 217