powerpc/iommu: Move dev_has_iommu_table() to iommu.c
authorShivaprasad G Bhat <sbhat@linux.ibm.com>
Mon, 24 Jun 2024 12:39:10 +0000 (12:39 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 28 Jun 2024 07:03:40 +0000 (17:03 +1000)
commit35146eadcb81d72153a1621f3cc0d5588cae19d3
tree89bf727942cac986de552efc148802e4ba36b70a
parent4ba2fdff2eb174114786784926d0efb6903c88a6
powerpc/iommu: Move dev_has_iommu_table() to iommu.c

Move function dev_has_iommu_table() to powerpc/kernel/iommu.c
as it is going to be used by machine specific iommu code as
well in subsequent patches.

Signed-off-by: Shivaprasad G Bhat <sbhat@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/171923274748.1397.6274953248403106679.stgit@linux.ibm.com
arch/powerpc/include/asm/iommu.h
arch/powerpc/kernel/eeh.c
arch/powerpc/kernel/iommu.c