[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>
This commit is contained in:
Roel Kluin 2007-11-08 09:22:48 +11:00 committed by Josh Boyer
parent 221fe3a4be
commit 2ae24c521a
1 changed files with 1 additions and 0 deletions

View File

@ -211,6 +211,7 @@ static void __init yucca_setup_pcie_fpga_rootpoint(int port)
break;
default:
iounmap(pcie_reg_fpga_base);
return;
}