diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-08-10 11:15:44 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-08-10 11:15:44 -0400 |
commit | a85fe3fce84335f83be17a7659bfbb3a71dc2fc4 (patch) | |
tree | d9a04b128c82f8c4cf1069404c059016c5e03d9a /arch | |
parent | 81210c2062cf98bf625bcd487334c89b0fce5a82 (diff) |
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.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) | |||
144 | return; | 144 | return; |
145 | iounmap(addr); | 145 | iounmap(addr); |
146 | } | 146 | } |
147 | #endif /* CONFIG_PCI */ | ||
148 | 147 | ||
149 | EXPORT_SYMBOL(pci_iomap); | 148 | EXPORT_SYMBOL(pci_iomap); |
150 | EXPORT_SYMBOL(pci_iounmap); | 149 | EXPORT_SYMBOL(pci_iounmap); |
150 | #endif /* CONFIG_PCI */ | ||