]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
mmc: balanc pci_iomap with pci_iounmap
authorRoel Kluin <roel.kluin@gmail.com>
Sat, 13 Dec 2008 20:21:33 +0000 (21:21 +0100)
committerPierre Ossman <drzeus@drzeus.cx>
Wed, 31 Dec 2008 17:18:13 +0000 (18:18 +0100)
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>
drivers/mmc/host/sdricoh_cs.c

index 1df44d966bdb927dc7bc7da7ff1ef5b1ee27a05e..d4748a8e0deda6fd2e1e05adaa20f7749d72c077 100644 (file)
@@ -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);