Skip to content
Commit e05e853e authored by Geert Uytterhoeven's avatar Geert Uytterhoeven
Browse files

clk: renesas: Use pm_clk_no_clocks() helper i.s.o. direct access



The pm_subsys_data.clock_list member exists only if CONFIG_PM_CLK=y.
Hence direct accesses to this field break compile-testing on platforms
where CONFIG_PM_CLK=n.

To fix this, use the pm_clk_no_clocks() helper instead, for which a
dummy version is provided if CONFIG_PM_CLK=n.

Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: default avatarSimon Horman <simon.horman@netronome.com>
parent dcf6a00d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment