From: Roel Kluin <12o3l@tiscali.nl> Date: Sun, 4 Nov 2007 12:00:06 +0000 (+0100) Subject: [MIPS] iounmap if in vr41xx_pciu_init() pci clock is over 33MHz X-Git-Tag: v2.6.24-rc3~6^2~14 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=bb856c5b494049584eca61c6069eb8e1b0f9ce35;p=linux-2.6-omap-h63xx.git [MIPS] iounmap if in vr41xx_pciu_init() pci clock is over 33MHz iounmap if pci clock is over 33MHz. Cosmetic because the iomap() in this case is just a bit of address magic. Signed-off-by: Roel Kluin <12o3l@tiscali.nl> Acked-by: Yoichi Yuasa Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/pci/pci-vr41xx.c b/arch/mips/pci/pci-vr41xx.c index 240df9e3381..33c4f683d06 100644 --- a/arch/mips/pci/pci-vr41xx.c +++ b/arch/mips/pci/pci-vr41xx.c @@ -154,6 +154,7 @@ static int __init vr41xx_pciu_init(void) pciu_write(PCICLKSELREG, QUARTER_VTCLOCK); else { printk(KERN_ERR "PCI Clock is over 33MHz.\n"); + iounmap(pciu_base); return -EINVAL; }