瀏覽代碼

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 年之前
父節點
當前提交
ca4f105639
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);