aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpicoder.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2018-04-04 10:23:53 +0000
committerJoerg Roedel <[email protected]>2018-05-03 14:36:07 +0000
commit40fa84e10134ef5c892b628e02382349b5db3e0c (patch)
tree2e7cea449beb07990ef81299ff4ba14ec21c1128 /lib/mpi/mpicoder.c
parentiommu/vt-d: Use WARN_ON_ONCE instead of BUG_ON in qi_flush_dev_iotlb() (diff)
downloadkernel-40fa84e10134ef5c892b628e02382349b5db3e0c.tar.gz
kernel-40fa84e10134ef5c892b628e02382349b5db3e0c.zip
iommu: rockchip: fix building without CONFIG_OF
We get a build error when compiling the iommu driver without CONFIG_OF: drivers/iommu/rockchip-iommu.c: In function 'rk_iommu_of_xlate': drivers/iommu/rockchip-iommu.c:1101:2: error: implicit declaration of function 'of_dev_put'; did you mean 'of_node_put'? [-Werror=implicit-function-declaration] This replaces the of_dev_put() with the equivalent platform_device_put(). Fixes: 5fd577c3eac3 ("iommu/rockchip: Use OF_IOMMU to attach devices automatically") Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions