diff options
author | Roel Kluin <12o3l@tiscali.nl> | 2007-11-07 22:22:48 (GMT) |
---|---|---|
committer | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2007-11-19 14:20:37 (GMT) |
commit | 2ae24c521a9793e36b1a2311fa64915c2e7b1b7b (patch) | |
tree | 51e27a6d851234c0aa6011e3f006e03170342037 /arch/ppc | |
parent | 221fe3a4be6aa742693f3a82824235c82d41846f (diff) | |
download | linux-2ae24c521a9793e36b1a2311fa64915c2e7b1b7b.tar.xz |
[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')
-rw-r--r-- | arch/ppc/platforms/4xx/yucca.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ppc/platforms/4xx/yucca.c b/arch/ppc/platforms/4xx/yucca.c index a83b0ba..66a44ff 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; } |