提交 543f3f33 编写于 作者: V Vandana Salve 提交者: Joerg Roedel

iommu: tegra/gart: use correct gart_device

Pass the correct gart device pointer.
Reviewed-by: NVandana Salve <vsalve@nvidia.com>
Tested-by: NVandana Salve <vsalve@nvidia.com>
Reviewed-by: NHiroshi Doyu <hdoyu@nvidia.com>
Reviewed-by: NBharat Nihalani <bnihalani@nvidia.com>
Signed-off-by: NHiroshi DOYU <hdoyu@nvidia.com>
Signed-off-by: NJoerg Roedel <joerg.roedel@amd.com>
上级 90730917
无相关合并请求
......@@ -158,7 +158,7 @@ static int gart_iommu_attach_dev(struct iommu_domain *domain,
struct gart_client *client, *c;
int err = 0;
gart = dev_get_drvdata(dev->parent);
gart = gart_handle;
if (!gart)
return -EINVAL;
domain->priv = gart;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部