diff options
Diffstat (limited to '')
-rw-r--r-- | drivers/pci/iomap.c (renamed from lib/pci_iomap.c) | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/pci_iomap.c b/drivers/pci/iomap.c index ce39ce9f3526..c9725428e387 100644 --- a/lib/pci_iomap.c +++ b/drivers/pci/iomap.c @@ -9,7 +9,6 @@ #include <linux/export.h> -#ifdef CONFIG_PCI /** * pci_iomap_range - create a virtual mapping cookie for a PCI BAR * @dev: PCI device that owns the BAR @@ -170,11 +169,9 @@ void pci_iounmap(struct pci_dev *dev, void __iomem *p) if (addr >= start && addr < start + IO_SPACE_LIMIT) return; - iounmap(p); #endif + iounmap(p); } EXPORT_SYMBOL(pci_iounmap); #endif /* ARCH_WANTS_GENERIC_PCI_IOUNMAP */ - -#endif /* CONFIG_PCI */ |