summaryrefslogtreecommitdiffstats
path: root/arch/ppc/platforms
diff options
context:
space:
mode:
authorRoel Kluin <12o3l@tiscali.nl>2007-11-07 23:22:48 +0100
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>2007-11-19 15:20:37 +0100
commit2ae24c521a9793e36b1a2311fa64915c2e7b1b7b (patch)
tree51e27a6d851234c0aa6011e3f006e03170342037 /arch/ppc/platforms
parent[POWERPC] Xilinx: Register AC97 Controller Reference with the platform bus (diff)
downloadlinux-2ae24c521a9793e36b1a2311fa64915c2e7b1b7b.tar.xz
linux-2ae24c521a9793e36b1a2311fa64915c2e7b1b7b.zip
[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;
}