* [PATCH] mmc: balanc pci_iomap with pci_iounmap
@ 2008-12-13 20:15 Roel Kluin
2008-12-13 20:21 ` [PATCH V2] " Roel Kluin
0 siblings, 1 reply; 3+ messages in thread
From: Roel Kluin @ 2008-12-13 20:15 UTC (permalink / raw)
To: drzeus; +Cc: lkml
balance pci_iomap with pci_iounmap, not iounmap
Signed-off-by: Roel Kluin <roel.kluin@gmail.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);
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH V2] mmc: balanc pci_iomap with pci_iounmap
2008-12-13 20:15 [PATCH] mmc: balanc pci_iomap with pci_iounmap Roel Kluin
@ 2008-12-13 20:21 ` Roel Kluin
2008-12-21 15:00 ` Pierre Ossman
0 siblings, 1 reply; 3+ messages in thread
From: Roel Kluin @ 2008-12-13 20:21 UTC (permalink / raw)
To: drzeus; +Cc: lkml
balance pci_iomap with pci_iounmap, not iounmap
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
---
Sorry, this is what it should be...
diff --git a/drivers/mmc/host/sdricoh_cs.c b/drivers/mmc/host/sdricoh_cs.c
index 1df44d9..d4748a8 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);
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-12-21 15:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-13 20:15 [PATCH] mmc: balanc pci_iomap with pci_iounmap Roel Kluin
2008-12-13 20:21 ` [PATCH V2] " Roel Kluin
2008-12-21 15:00 ` Pierre Ossman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome