commit | e05e853e2c254baf4ce11870dca81dee58b5d2d0 | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert+renesas@glider.be> | Wed Feb 08 19:08:44 2017 +0100 |
committer | Geert Uytterhoeven <geert+renesas@glider.be> | Mon May 15 09:46:31 2017 +0200 |
tree | 371ef411fc06dca139212467fbe17a1af5ed3954 | |
parent | dcf6a00dffeed8c101a4d34ebf5371bbc48c8f4f [diff] |
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: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Simon Horman <simon.horman@netronome.com>