OSDN Git Service

irqchip/gic-v3-its-platform-msi: Make of_device_ids const
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 22 Jun 2017 10:41:13 +0000 (16:11 +0530)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 23 Jun 2017 08:14:58 +0000 (09:14 +0100)
commit5b8670612d4014f33d9f130693bfba5327726411
tree5c5611c1fd7f8674f229a169f8aeb26692500676
parent935bba7ccf0246fae8247aa8dab7aa85c43de2d8
irqchip/gic-v3-its-platform-msi: 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-platform-msi.c