diff options
author | Simon Xue <xxm@rock-chips.com> | 2016-06-24 10:13:27 +0800 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2016-06-27 14:50:08 +0200 |
commit | e6d0f4737c468d1889aba06801c490988cf66ad7 (patch) | |
tree | d34a08795658657bec9b533fa376e46982bfa9d9 /drivers/iommu/dmar.c | |
parent | fec3b217ff19978650121103d849b5889b04780a (diff) |
iommu/rockchip: Add map_sg callback for rk_iommu_ops
The iommu_dma_alloc() in iommu/dma-iommu.c calls iommu_map_sg()
that requires the callback iommu_ops .map_sg(). Adding the
default_iommu_map_sg() to Rockchip IOMMU accordingly.
Signed-off-by: Simon Xue <xxm@rock-chips.com>
Signed-off-by: Shunqian Zheng <xxm@rock-chips.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Tomasz Figa <tfiga@chromium.org>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/dmar.c')
0 files changed, 0 insertions, 0 deletions