mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-13 00:20:06 +00:00
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…
x
Reference in New Issue
Block a user