From: Vandana Salve <vsalve@xxxxxxxxxx> Pass the correct gart device pointer. Reviewed-by: Vandana Salve <vsalve@xxxxxxxxxx> Tested-by: Vandana Salve <vsalve@xxxxxxxxxx> Reviewed-by: Hiroshi Doyu <hdoyu@xxxxxxxxxx> Reviewed-by: Bharat Nihalani <bnihalani@xxxxxxxxxx> Signed-off-by: Hiroshi DOYU <hdoyu@xxxxxxxxxx> --- drivers/iommu/tegra-gart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/tegra-gart.c b/drivers/iommu/tegra-gart.c index 779306e..f6bc1e6 100644 --- a/drivers/iommu/tegra-gart.c +++ b/drivers/iommu/tegra-gart.c @@ -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; -- 1.7.10 -- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html