summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi DOYU <hdoyu@nvidia.com>2012-04-13 10:18:30 (GMT)
committerJoerg Roedel <joerg.roedel@amd.com>2012-04-16 10:52:41 (GMT)
commit907309176f38b3312b0aba51de55361be717f444 (patch)
tree24b5e15d4be1e0bde8c42bac1f2bbaabcc948b3e
parent0034102808e0dbbf3a2394b82b1bb40b5778de9e (diff)
downloadlinux-fsl-qoriq-907309176f38b3312b0aba51de55361be717f444.tar.xz
iommu/tegra: smmu: Print device name correctly
Print an attached device name correctly. Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com> Reviewed-by: Thierry Reding <thierry.reding@avionic-design.de> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
-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 eb93c82..ecd6790 100644
--- a/drivers/iommu/tegra-smmu.c
+++ b/drivers/iommu/tegra-smmu.c
@@ -733,7 +733,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: