Skip to content

Commit

Permalink
powerpc: Really fix build without CONFIG_PCI
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Benjamin Herrenschmidt committed Aug 10, 2011
1 parent 81210c2 commit a85fe3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/kernel/iomap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit a85fe3f

Please sign in to comment.