summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-08-10 19:15:44 +0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-08-10 19:15:44 +0400
commita85fe3fce84335f83be17a7659bfbb3a71dc2fc4 (patch)
treed9a04b128c82f8c4cf1069404c059016c5e03d9a /arch
parent81210c2062cf98bf625bcd487334c89b0fce5a82 (diff)
downloadlinux-a85fe3fce84335f83be17a7659bfbb3a71dc2fc4.tar.xz
powerpc: Really fix build without CONFIG_PCI
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/kernel/iomap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/iomap.c b/arch/powerpc/kernel/iomap.c
index faca64accac1..b25f6325fc70 100644
--- a/arch/powerpc/kernel/iomap.c
+++ b/arch/powerpc/kernel/iomap.c
@@ -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 */