提交 fddad17e 编写于 作者: P Philipp Zabel

reset: sunxi: mark the of_device_id array as __initconst

Since this array is static const, it should be marked as __initconst.
Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
Acked-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
上级 04378384
......@@ -122,7 +122,7 @@ static int sunxi_reset_init(struct device_node *np)
* our system, before we can even think of using a regular device
* driver for it.
*/
static const struct of_device_id sunxi_early_reset_dt_ids[] __initdata = {
static const struct of_device_id sunxi_early_reset_dt_ids[] __initconst = {
{ .compatible = "allwinner,sun6i-a31-ahb1-reset", },
{ /* sentinel */ },
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册