diff options
author | Kiran Padwal <kiran.padwal@smartplayin.com> | 2014-09-11 17:37:36 +0400 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2014-09-25 18:01:03 +0400 |
commit | d943b0ffba153cd63f836647b873b445842a2f58 (patch) | |
tree | 5d4e88729efc249726e1648664c97d59dfb92d6d /drivers/iommu/arm-smmu.c | |
parent | 24278a24d88ae730229417e5d3bd452d7545fbcc (diff) | |
download | linux-d943b0ffba153cd63f836647b873b445842a2f58.tar.xz |
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/arm-smmu.c')
-rw-r--r-- | drivers/iommu/arm-smmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/arm-smmu.c b/drivers/iommu/arm-smmu.c index 1e0485e0aa6a..ce39b1294bfd 100644 --- a/drivers/iommu/arm-smmu.c +++ b/drivers/iommu/arm-smmu.c @@ -2011,7 +2011,7 @@ static int arm_smmu_device_remove(struct platform_device *pdev) } #ifdef CONFIG_OF -static struct of_device_id arm_smmu_of_match[] = { +static const struct of_device_id arm_smmu_of_match[] = { { .compatible = "arm,smmu-v1", }, { .compatible = "arm,smmu-v2", }, { .compatible = "arm,mmu-400", }, |