diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-08-10 15:15:44 (GMT) |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-08-10 15:15:44 (GMT) |
commit | a85fe3fce84335f83be17a7659bfbb3a71dc2fc4 (patch) | |
tree | d9a04b128c82f8c4cf1069404c059016c5e03d9a /arch/powerpc/kernel | |
parent | 81210c2062cf98bf625bcd487334c89b0fce5a82 (diff) | |
download | linux-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/powerpc/kernel')
-rw-r--r-- | arch/powerpc/kernel/iomap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/iomap.c b/arch/powerpc/kernel/iomap.c index faca64a..b25f632 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 */ |