summaryrefslogtreecommitdiff
path: root/arch/ppc/platforms
diff options
context:
space:
mode:
authorRoel Kluin <12o3l@tiscali.nl>2007-11-08 09:22:48 +1100
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>2007-11-19 08:20:37 -0600
commit2ae24c521a9793e36b1a2311fa64915c2e7b1b7b (patch)
tree51e27a6d851234c0aa6011e3f006e03170342037 /arch/ppc/platforms
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/ppc/platforms')
-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)
break;
default:
+ iounmap(pcie_reg_fpga_base);
return;
}