[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <494417FF.7010501@gmail.com>
Date: Sat, 13 Dec 2008 21:15:59 +0100
From: Roel Kluin <roel.kluin@...il.com>
To: drzeus@...eus.cx
CC: lkml <linux-kernel@...r.kernel.org>
Subject: [PATCH] mmc: balanc pci_iomap with pci_iounmap
balance pci_iomap with pci_iounmap, not iounmap
Signed-off-by: Roel Kluin <roel.kluin@...il.com>
---
diff --git a/drivers/mmc/host/sdricoh_cs.c b/drivers/mmc/host/sdricoh_cs.c
index 1df44d9..d4d86be 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(iobase);
if (mmc)
mmc_free_host(mmc);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists