powerpc: Fix build without CONFIG_PCI
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 5 Aug 2011 06:01:20 +0000 (16:01 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 5 Aug 2011 06:01:20 +0000 (16:01 +1000)
commit81210c2062cf98bf625bcd487334c89b0fce5a82
treee4bbfca5cc5b9416f6d96ee0f389d0a1033e63be
parent883a805d617baca1c01172dc1d35e37829ffed0c
powerpc: Fix build without CONFIG_PCI

Commit fea80311a939a746533a6d7e7c3183729d6a3faf
"iomap: make IOPORT/PCI mapping functions conditional"

Broke powerpc build without CONFIG_PCI as we would still define
pci_iomap(), which overlaps with the new empty inline in the headers.

Make our implementation conditional on CONFIG_PCI

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/iomap.c