Skip to content

Commit c10f2f8

Browse files
Xiang wangxMarc Zyngier
authored andcommitted
irqchip/gic-v2m: Add const to of_device_id
struct of_device_id should normally be const. Signed-off-by: Xiang wangx <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 29e525c commit c10f2f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/irqchip/irq-gic-v2m.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ static int __init gicv2m_init_one(struct fwnode_handle *fwnode,
405405
return ret;
406406
}
407407

408-
static struct of_device_id gicv2m_device_id[] = {
408+
static const struct of_device_id gicv2m_device_id[] = {
409409
{ .compatible = "arm,gic-v2m-frame", },
410410
{},
411411
};

0 commit comments

Comments
 (0)