diff options
author | David Cohen <dacohen@gmail.com> | 2011-02-24 15:51:32 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-02-24 15:51:32 -0500 |
commit | 4111772900ba908e8be6f671013545f7aa41bc76 (patch) | |
tree | db585a963eb8995a6e4cecfae854b4a80ce7ecc4 /arch/arm/plat-omap/iommu.c | |
parent | ef4815ab1ff10d642c21ef92faa6544934bc78d1 (diff) |
omap: iommu: print module name on error messages
OMAP IOMMU generic layer doesn't need ot print function name during
error messages. Print module name instead which is more useful.
Signed-off-by: David Cohen <dacohen@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap/iommu.c')
-rw-r--r-- | arch/arm/plat-omap/iommu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-omap/iommu.c b/arch/arm/plat-omap/iommu.c index 3d8f55ea8666..4b3218eaf3e5 100644 --- a/arch/arm/plat-omap/iommu.c +++ b/arch/arm/plat-omap/iommu.c | |||
@@ -809,7 +809,7 @@ static irqreturn_t iommu_fault_handler(int irq, void *data) | |||
809 | iopgd = iopgd_offset(obj, da); | 809 | iopgd = iopgd_offset(obj, da); |
810 | 810 | ||
811 | if (!iopgd_is_table(*iopgd)) { | 811 | if (!iopgd_is_table(*iopgd)) { |
812 | dev_err(obj->dev, "%s: da:%08x pgd:%p *pgd:%08x\n", __func__, | 812 | dev_err(obj->dev, "%s: da:%08x pgd:%p *pgd:%08x\n", obj->name, |
813 | da, iopgd, *iopgd); | 813 | da, iopgd, *iopgd); |
814 | return IRQ_NONE; | 814 | return IRQ_NONE; |
815 | } | 815 | } |
@@ -817,7 +817,7 @@ static irqreturn_t iommu_fault_handler(int irq, void *data) | |||
817 | iopte = iopte_offset(iopgd, da); | 817 | iopte = iopte_offset(iopgd, da); |
818 | 818 | ||
819 | dev_err(obj->dev, "%s: da:%08x pgd:%p *pgd:%08x pte:%p *pte:%08x\n", | 819 | dev_err(obj->dev, "%s: da:%08x pgd:%p *pgd:%08x pte:%p *pte:%08x\n", |
820 | __func__, da, iopgd, *iopgd, iopte, *iopte); | 820 | obj->name, da, iopgd, *iopgd, iopte, *iopte); |
821 | 821 | ||
822 | return IRQ_NONE; | 822 | return IRQ_NONE; |
823 | } | 823 | } |