[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:
parent
221fe3a4be
commit
2ae24c521a
1 changed files with 1 additions and 0 deletions
|
@ -211,6 +211,7 @@ static void __init yucca_setup_pcie_fpga_rootpoint(int port)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
iounmap(pcie_reg_fpga_base);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue