Commit 21fbda93 authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds

[PATCH] Fix incorrect umem iounmap() call

From: Leann Ogasawara <ogasawara@osdl.org>

Acked by Neil Brown.
parent 49172b02
...@@ -1110,7 +1110,7 @@ static int __devinit mm_pci_probe(struct pci_dev *dev, const struct pci_device_i ...@@ -1110,7 +1110,7 @@ static int __devinit mm_pci_probe(struct pci_dev *dev, const struct pci_device_i
release_mem_region(card->mem_base, card->mem_len); release_mem_region(card->mem_base, card->mem_len);
failed_req_mem: failed_req_mem:
#endif #endif
iounmap((void *) card->csr_base); iounmap((void *) card->csr_remap);
failed_remap_csr: failed_remap_csr:
release_mem_region(card->csr_base, card->csr_len); release_mem_region(card->csr_base, card->csr_len);
failed_req_csr: failed_req_csr:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment