summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/omap-iopgtable.h
diff options
context:
space:
mode:
authorSuman Anna <s-anna@ti.com>2013-05-31 01:10:59 +0200
committerJoerg Roedel <joro@8bytes.org>2013-06-20 16:53:26 +0200
commitb6c2e09f74a1f95aa77b478b40b41538a2ccb8f0 (patch)
treea334d605181f9c577c28bf359cf1901db8d258af /drivers/iommu/omap-iopgtable.h
parentiommu/omap: fix printk formats for dma_addr_t (diff)
downloadlinux-b6c2e09f74a1f95aa77b478b40b41538a2ccb8f0.tar.xz
linux-b6c2e09f74a1f95aa77b478b40b41538a2ccb8f0.zip
iommu/omap: fix checkpatch warnings in omap iommu code
This patch fixes the checkpatch warnings in omap iommu code, most of them are related to broken strings. Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Joerg Roedel <joro@8bytes.org>
Diffstat (limited to 'drivers/iommu/omap-iopgtable.h')
-rw-r--r--drivers/iommu/omap-iopgtable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/omap-iopgtable.h b/drivers/iommu/omap-iopgtable.h
index cd4ae9e5b0c6..f4003d568a92 100644
--- a/drivers/iommu/omap-iopgtable.h
+++ b/drivers/iommu/omap-iopgtable.h
@@ -95,4 +95,4 @@ static inline phys_addr_t omap_iommu_translate(u32 d, u32 va, u32 mask)
#define iopte_offset(iopgd, da) (iopgd_page_vaddr(iopgd) + iopte_index(da))
#define to_iommu(dev) \
- (struct omap_iommu *)platform_get_drvdata(to_platform_device(dev))
+ ((struct omap_iommu *)platform_get_drvdata(to_platform_device(dev)))