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>
This commit is contained in:
parent
504f191f25
commit
ca4f105639
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue