[U-Boot] [PATCH v7 01/12] clk: Use dummy clk_get_by_* functions when CONFIG_CLK is disabled

Masahiro Yamada yamada.masahiro at socionext.com
Fri Sep 9 05:15:44 CEST 2016


2016-09-08 15:47 GMT+09:00 Paul Burton <paul.burton at imgtec.com>:
> The implementations of clk_get_by_index & clk_get_by_name are only
> available when CONFIG_CLK is enabled.

Unless I am missing something,
I think this statement also applies to other clk API functions
such as clk_request(), clk_free(), clk_get_rate(), etc.


> Provide the dummies when this is
> not the case in order to avoid build failures.

Why are other functions OK without dummy stubs?




-- 
Best Regards
Masahiro Yamada


More information about the U-Boot mailing list