mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 12:10:52 -04:00
iommu: tegra/gart: use correct gart_device
Pass the correct gart device pointer. Reviewed-by: Vandana Salve <[email protected]> Tested-by: Vandana Salve <[email protected]> Reviewed-by: Hiroshi Doyu <[email protected]> Reviewed-by: Bharat Nihalani <[email protected]> Signed-off-by: Hiroshi DOYU <[email protected]> Signed-off-by: Joerg Roedel <[email protected]>
This commit is contained in:
parent
907309176f
commit
543f3f33b6
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue