]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iommu: arm-smmu-v3: make of_device_ids const
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 22 Jun 2017 07:21:00 +0000 (12:51 +0530)
committerWill Deacon <will.deacon@arm.com>
Fri, 23 Jun 2017 16:57:57 +0000 (17:57 +0100)
commitebdd13c93f8e878afcdba642f48cd1bd85619e2a
treedcdac45b5955c41b3ea0e28defe7ef87140f8983
parent84c24379a783c514e5ff7c8fc8a21cf8d64fd05f
iommu: arm-smmu-v3: make of_device_ids const

of_device_ids are not supposed to change at runtime. All functions
working with of_device_ids provided by <linux/of.h> work with const
of_device_ids. So mark the non-const structs as const.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/iommu/arm-smmu-v3.c