diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-08-10 17:15:44 +0200 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-08-10 17:15:44 +0200 |
commit | a85fe3fce84335f83be17a7659bfbb3a71dc2fc4 (patch) | |
tree | d9a04b128c82f8c4cf1069404c059016c5e03d9a /arch/powerpc/kernel | |
parent | powerpc: Fix build without CONFIG_PCI (diff) | |
download | linux-a85fe3fce84335f83be17a7659bfbb3a71dc2fc4.tar.xz linux-a85fe3fce84335f83be17a7659bfbb3a71dc2fc4.zip |
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 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 */ |