aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2008-12-13 21:21:33 +0100
committerPierre Ossman <drzeus@drzeus.cx>2008-12-31 18:18:13 +0100
commitca4f10563929b932ed8970fda41a7f99385e4b0b (patch)
treee93646ccc3b4d7aa690532b403b0c86bff64d9b0 /drivers/mmc
parentmmc_block: print better error messages (diff)
downloadlinux-dev-ca4f10563929b932ed8970fda41a7f99385e4b0b.tar.xz
linux-dev-ca4f10563929b932ed8970fda41a7f99385e4b0b.zip
mmc: balanc pci_iomap with pci_iounmap
balance pci_iomap with pci_iounmap, not iounmap Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/sdricoh_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdricoh_cs.c b/drivers/mmc/host/sdricoh_cs.c
index 1df44d966bdb..d4748a8e0ded 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);