]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/gic-v3-its: Make of_device_ids const
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 22 Jun 2017 10:35:30 +0000 (16:05 +0530)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 23 Jun 2017 08:14:58 +0000 (09:14 +0100)
commit8f0213b832372af448f08653ca422055fcc98eb1
treed7c4b9aa3a3ae0a873b0f45fce5ecb8ee2645599
parent330d491dae6003d0d819fd09091aa99f8fc495a1
irqchip/gic-v3-its: 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: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-gic-v3-its.c