Commit a85fe3fce84335f83be17a7659bfbb3a71dc2fc4

Authored by Benjamin Herrenschmidt
1 parent 81210c2062

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

arch/powerpc/kernel/iomap.c
... ... @@ -144,8 +144,8 @@
144 144 return;
145 145 iounmap(addr);
146 146 }
147   -#endif /* CONFIG_PCI */
148 147  
149 148 EXPORT_SYMBOL(pci_iomap);
150 149 EXPORT_SYMBOL(pci_iounmap);
  150 +#endif /* CONFIG_PCI */