Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

pmdomain: renesas: rcar-sysc: Make rcar_sysc_onecell_np __initdata

rcar_sysc_onecell_np() is only used by functions marked __init, so it
can be freed when init memory is freed.

Fixes: c5ae5a0c6112 ("pmdomain: renesas: rcar-sysc: Add genpd OF provider at postcore_initcall")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/e20a848ff952924f8f58c335f9a0242cb2565921.1755090234.git.geert+renesas@glider.be
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

authored by

Geert Uytterhoeven and committed by
Ulf Hansson
d8f3ae7b c17b750b

+1 -1
+1 -1
drivers/pmdomain/renesas/rcar-sysc.c
··· 342 342 }; 343 343 344 344 static struct genpd_onecell_data *rcar_sysc_onecell_data; 345 - static struct device_node *rcar_sysc_onecell_np; 345 + static struct device_node *rcar_sysc_onecell_np __initdata = NULL; 346 346 347 347 static int __init rcar_sysc_pd_init(void) 348 348 {