]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - sitara-epos/sitara-epos-kernel.git/commitdiff
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 faca64accac140dfe8d623824e70d62e63f4430b..b25f6325fc7090a5e02e9731bbadd49b6c65f9dd 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 */