iommu/rockchip: add map_sg callback for rk_iommu_ops
authorSimon <xxm@rock-chips.com>
Fri, 25 Mar 2016 02:11:13 +0000 (10:11 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Fri, 25 Mar 2016 03:43:28 +0000 (11:43 +0800)
Change-Id: I7a677ba0c06c4031661681a26333b1e9a2aafd26
Signed-off-by: Simon <xxm@rock-chips.com>
drivers/iommu/rockchip-iommu.c

index cd6c40a74b72067c6d4dc2a360649eb7314db55d..044c5685b11533ff17ad97f9316a54e34ba55d59 100644 (file)
@@ -1020,6 +1020,7 @@ static const struct iommu_ops rk_iommu_ops = {
        .detach_dev = rk_iommu_detach_device,
        .map = rk_iommu_map,
        .unmap = rk_iommu_unmap,
+       .map_sg = default_iommu_map_sg,
        .add_device = rk_iommu_add_device,
        .remove_device = rk_iommu_remove_device,
        .iova_to_phys = rk_iommu_iova_to_phys,