powerpc: Really fix build without CONFIG_PCI
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 10 Aug 2011 15:15:44 +0000 (01:15 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 10 Aug 2011 15:15:44 +0000 (01:15 +1000)
Brown paper bag day, previous commit wouldn't work very well with modules
enabled. Move the exports into the ifdef.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/iomap.c

index faca64a..b25f632 100644 (file)
@@ -144,7 +144,7 @@ void pci_iounmap(struct pci_dev *dev, void __iomem *addr)
                return;
        iounmap(addr);
 }
-#endif /* CONFIG_PCI */
 
 EXPORT_SYMBOL(pci_iomap);
 EXPORT_SYMBOL(pci_iounmap);
+#endif /* CONFIG_PCI */