Browse Source

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>
Roel Kluin 16 years ago
parent
commit
ca4f105639
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/mmc/host/sdricoh_cs.c

+ 1 - 1
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);