Skip to content

Commit

Permalink
mmc: balanc pci_iomap with pci_iounmap
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Roel Kluin authored and Pierre Ossman committed Dec 31, 2008
1 parent 504f191 commit ca4f105
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mmc/host/sdricoh_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit ca4f105

Please sign in to comment.