From: Roel Kluin Date: Sat, 13 Dec 2008 20:21:33 +0000 (+0100) Subject: mmc: balanc pci_iomap with pci_iounmap X-Git-Tag: v2.6.29-rc1~525^2^2~6 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ca4f10563929b932ed8970fda41a7f99385e4b0b;p=linux-2.6-omap-h63xx.git mmc: balanc pci_iomap with pci_iounmap balance pci_iomap with pci_iounmap, not iounmap Signed-off-by: Roel Kluin Signed-off-by: Pierre Ossman --- diff --git a/drivers/mmc/host/sdricoh_cs.c b/drivers/mmc/host/sdricoh_cs.c index 1df44d966bd..d4748a8e0de 100644 --- a/drivers/mmc/host/sdricoh_cs.c +++ b/drivers/mmc/host/sdricoh_cs.c @@ -463,7 +463,7 @@ static int sdricoh_init_mmc(struct pci_dev *pci_dev, err: if (iobase) - iounmap(iobase); + pci_iounmap(pci_dev, iobase); if (mmc) mmc_free_host(mmc);