powerpc/eeh: Add missing #ifdef CONFIG_IOMMU_API
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 5 Aug 2014 08:52:59 +0000 (18:52 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 5 Aug 2014 08:52:59 +0000 (18:52 +1000)
commit2194dc27bd845d69ea169fb95c1536002904967e
treebccf026151d7d34b972ff93b2186a93d89853d3b
parent9be9be2e9a966fe32c1a443c5197f829ecc3028c
powerpc/eeh: Add missing #ifdef CONFIG_IOMMU_API

Some new functions are exposed for use by the IOMMU code but
won't build when CONFIG_IOMMU_API isn't set, so shield them
appropriately.

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