aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu/omap-iommu.c
diff options
context:
space:
mode:
authorKiran Padwal <kiran.padwal@smartplayin.com>2014-09-11 09:37:36 -0400
committerJoerg Roedel <jroedel@suse.de>2014-09-25 10:01:03 -0400
commitd943b0ffba153cd63f836647b873b445842a2f58 (patch)
tree5d4e88729efc249726e1648664c97d59dfb92d6d /drivers/iommu/omap-iommu.c
parent24278a24d88ae730229417e5d3bd452d7545fbcc (diff)
iommu: Make of_device_id array const
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Kiran Padwal <kiran.padwal@smartplayin.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/omap-iommu.c')
-rw-r--r--drivers/iommu/omap-iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/omap-iommu.c b/drivers/iommu/omap-iommu.c
index e202b0c24120..47517cf674ad 100644
--- a/drivers/iommu/omap-iommu.c
+++ b/drivers/iommu/omap-iommu.c
@@ -1006,7 +1006,7 @@ static int omap_iommu_remove(struct platform_device *pdev)
1006 return 0; 1006 return 0;
1007} 1007}
1008 1008
1009static struct of_device_id omap_iommu_of_match[] = { 1009static const struct of_device_id omap_iommu_of_match[] = {
1010 { .compatible = "ti,omap2-iommu" }, 1010 { .compatible = "ti,omap2-iommu" },
1011 { .compatible = "ti,omap4-iommu" }, 1011 { .compatible = "ti,omap4-iommu" },
1012 { .compatible = "ti,dra7-iommu" }, 1012 { .compatible = "ti,dra7-iommu" },