Commit c10f2f8b authored by Xiang wangx's avatar Xiang wangx Committed by Marc Zyngier

irqchip/gic-v2m: Add const to of_device_id

struct of_device_id should normally be const.
Signed-off-by: default avatarXiang wangx <wangxiang@cdjrlc.com>
Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211209132453.25623-1-wangxiang@cdjrlc.com
parent 29e525cc
......@@ -405,7 +405,7 @@ static int __init gicv2m_init_one(struct fwnode_handle *fwnode,
return ret;
}
static struct of_device_id gicv2m_device_id[] = {
static const struct of_device_id gicv2m_device_id[] = {
{ .compatible = "arm,gic-v2m-frame", },
{},
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment