summaryrefslogtreecommitdiff
path: root/drivers/iommu
diff options
context:
space:
mode:
authorHiroshi DOYU <hdoyu@nvidia.com>2012-03-16 16:28:13 +0200
committerRohan Somvanshi <rsomvanshi@nvidia.com>2012-04-16 03:51:16 -0700
commit6104c306648175cd8e17745e82955511e4ec3f43 (patch)
treedf6bae6cadaccf1f0c15299341f25b59971184ad /drivers/iommu
parent3b7fa0733088faa77ece950d8367dba5a57b242a (diff)
iommu/tegra: smmu: Print device name correctly
Print an attached device name correctly. Change-Id: I8352bd81916936aa2276a51c0161f0c2be709760 Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com> Reviewed-on: http://git-master/r/96138 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Diffstat (limited to 'drivers/iommu')
-rw-r--r--drivers/iommu/tegra-smmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/tegra-smmu.c b/drivers/iommu/tegra-smmu.c
index f4d859fca7fe..bf33c0302257 100644
--- a/drivers/iommu/tegra-smmu.c
+++ b/drivers/iommu/tegra-smmu.c
@@ -734,7 +734,7 @@ static int smmu_iommu_attach_dev(struct iommu_domain *domain,
pr_info("Reserve \"page zero\" for AVP vectors using a common dummy\n");
}
- dev_dbg(smmu->dev, "%s is attached\n", dev_name(c->dev));
+ dev_dbg(smmu->dev, "%s is attached\n", dev_name(dev));
return 0;
err_client: