Linux 4.1.18
[linux/fpc-iii.git] / arch / microblaze / pci / iomap.c
blob94149f5e6ebe2a152d686757fc19f85690b4410b
1 /*
2 * ppc64 "iomap" interface implementation.
4 * (C) Copyright 2004 Linus Torvalds
5 */
6 #include <linux/init.h>
7 #include <linux/pci.h>
8 #include <linux/mm.h>
9 #include <linux/export.h>
10 #include <linux/io.h>
11 #include <asm/pci-bridge.h>
13 void pci_iounmap(struct pci_dev *dev, void __iomem *addr)
15 if (isa_vaddr_is_ioport(addr))
16 return;
17 if (pcibios_vaddr_is_ioport(addr))
18 return;
19 iounmap(addr);
21 EXPORT_SYMBOL(pci_iounmap);