Message ID | 20210128082847.2205950-1-geert+renesas@glider.be |
---|---|
State | Accepted |
Commit | 2dfc564bda4a31bc4439315448bd4da5182cb397 |
Headers | show |
Series | [v2] soc: renesas: rcar-sysc: Mark device node OF_POPULATED after init | expand |
diff --git a/drivers/soc/renesas/rcar-sysc.c b/drivers/soc/renesas/rcar-sysc.c index d51ddc7d5232b9db..53387a72ca00ce79 100644 --- a/drivers/soc/renesas/rcar-sysc.c +++ b/drivers/soc/renesas/rcar-sysc.c @@ -434,6 +434,8 @@ static int __init rcar_sysc_pd_init(void) } error = of_genpd_add_provider_onecell(np, &domains->onecell_data); + if (!error) + of_node_set_flag(np, OF_POPULATED); out_put: of_node_put(np);