diff options
author | Xiang wangx <wangxiang@cdjrlc.com> | 2021-12-09 21:24:53 +0800 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-12-16 15:19:52 +0000 |
commit | c10f2f8b5d8027c1ea77f777f2d16cb9043a6c09 (patch) | |
tree | 011aa294f0626741885f7e067ec76a3200e6221c /drivers/irqchip | |
parent | 29e525cc825e33ea0da2ac0fbf951e418fc28c69 (diff) |
irqchip/gic-v2m: Add const to of_device_id
struct of_device_id should normally be const.
Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211209132453.25623-1-wangxiang@cdjrlc.com
Diffstat (limited to 'drivers/irqchip')
-rw-r--r-- | drivers/irqchip/irq-gic-v2m.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-gic-v2m.c b/drivers/irqchip/irq-gic-v2m.c index 9349fc68b81a..f2d252dff5f3 100644 --- a/drivers/irqchip/irq-gic-v2m.c +++ b/drivers/irqchip/irq-gic-v2m.c @@ -405,7 +405,7 @@ err_free_v2m: return ret; } -static struct of_device_id gicv2m_device_id[] = { +static const struct of_device_id gicv2m_device_id[] = { { .compatible = "arm,gic-v2m-frame", }, {}, }; |