summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/nvmap
diff options
context:
space:
mode:
authorHiroshi DOYU <hdoyu@nvidia.com>2012-07-09 11:24:57 +0300
committerRohan Somvanshi <rsomvanshi@nvidia.com>2012-07-11 06:37:43 -0700
commit6cbf4c7465b7b70936cb422b509da0ad0829c306 (patch)
tree89cb91fd31b9fe3275b192106355b908257c5bec /drivers/video/tegra/nvmap
parentf938865b63a8a34a073e2bb366aeff1d4af6890a (diff)
ARM: tegra: iovmm: Allow alloc_client to take struct device
Allow tegra_iovmm_alloc_client() to take struct device * instead of const char *name w/ __tegra_iovmm_alloc_client(). This is necessary to support IOVMM and IOMMU simultaneously. Change-Id: I18df5001bfe0ece8f9f15b636eb11def9f228dfb Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com> Reviewed-on: http://git-master/r/114215 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Diffstat (limited to 'drivers/video/tegra/nvmap')
-rw-r--r--drivers/video/tegra/nvmap/nvmap_dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/tegra/nvmap/nvmap_dev.c b/drivers/video/tegra/nvmap/nvmap_dev.c
index aed98f574001..758bc3d8cba0 100644
--- a/drivers/video/tegra/nvmap/nvmap_dev.c
+++ b/drivers/video/tegra/nvmap/nvmap_dev.c
@@ -1190,7 +1190,7 @@ static int nvmap_probe(struct platform_device *pdev)
#endif
dev->iovmm_master.iovmm =
- tegra_iovmm_alloc_client(dev_name(&pdev->dev), NULL,
+ tegra_iovmm_alloc_client(&pdev->dev, NULL,
&(dev->dev_user));
#ifdef CONFIG_TEGRA_IOVMM
if (!dev->iovmm_master.iovmm) {