]> err.no Git - linux-2.6/commitdiff
[POWERPC] 4xx: balance ioremap/ioumap calls for Yucca
authorRoel Kluin <12o3l@tiscali.nl>
Wed, 7 Nov 2007 22:22:48 +0000 (09:22 +1100)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Mon, 19 Nov 2007 14:20:37 +0000 (08:20 -0600)
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>
arch/ppc/platforms/4xx/yucca.c

index a83b0baea011f17811cda760540dab989e1f631c..66a44ff0d9263acdc1732e358ab82f60ddf2ecf6 100644 (file)
@@ -211,6 +211,7 @@ static void __init yucca_setup_pcie_fpga_rootpoint(int port)
                break;
 
        default:
+               iounmap(pcie_reg_fpga_base);
                return;
        }