From 6104c306648175cd8e17745e82955511e4ec3f43 Mon Sep 17 00:00:00 2001 From: Hiroshi DOYU Date: Fri, 16 Mar 2012 16:28:13 +0200 Subject: iommu/tegra: smmu: Print device name correctly Print an attached device name correctly. Change-Id: I8352bd81916936aa2276a51c0161f0c2be709760 Signed-off-by: Hiroshi DOYU Reviewed-on: http://git-master/r/96138 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Krishna Reddy --- drivers/iommu/tegra-smmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers') 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: -- cgit v1.2.3