Searched hist:"5 b867061" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/irqchip/ |
H A D | irq-gic-v3-its-platform-msi.c | 5b867061 Thu Jun 22 05:41:13 CDT 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> 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> 5b867061 Thu Jun 22 05:41:13 CDT 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> 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>
|