summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/tegra-gart.c
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2018-12-12 21:39:04 +0100
committerJoerg Roedel <jroedel@suse.de>2019-01-16 13:54:14 +0100
commit5dd82cdb36880e0c87b58a002a0513cfbc18552a (patch)
tree168a88198b8c5a46495c4d6210ddcbd302125c9d /drivers/iommu/tegra-gart.c
parentiommu/tegra: gart: Don't use managed resources (diff)
downloadlinux-5dd82cdb36880e0c87b58a002a0513cfbc18552a.tar.xz
linux-5dd82cdb36880e0c87b58a002a0513cfbc18552a.zip
iommu/tegra: gart: Prepend error/debug messages with "gart:"
GART became a part of Memory Controller, hence now the drivers device is Memory Controller and not GART. As a result all printed messages are prepended with the "tegra-mc 7000f000.memory-controller:", so let's prepend GART's messages with "gart:" in order to differentiate them from the MC. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Acked-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to '')
-rw-r--r--drivers/iommu/tegra-gart.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iommu/tegra-gart.c b/drivers/iommu/tegra-gart.c
index 2e0e6aff8f70..a3ce6918577d 100644
--- a/drivers/iommu/tegra-gart.c
+++ b/drivers/iommu/tegra-gart.c
@@ -19,6 +19,8 @@
* 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#define dev_fmt(fmt) "gart: " fmt
+
#include <linux/io.h>
#include <linux/iommu.h>
#include <linux/list.h>