diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2015-10-26 11:55:34 -0700 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-10-26 11:57:50 -0700 |
commit | 679c51cffc3b316bd89ecc91ef92603dd6d4fc68 (patch) | |
tree | d2baf6ce51633a4c1323c10a6d949cdd0a19d3da /drivers/clk | |
parent | 7bdccef34fc67d3fce6778a018601dd41e43c5ce (diff) |
clk: Add stubs for of_clk_*() APIs when CONFIG_OF=n
Compiling the versatile clock driver with COMPILE_TEST=y and CONFIG_OF=n
leads to the following error:
drivers/clk/versatile/clk-sp810.c: In function 'clk_sp810_of_setup':
drivers/clk/versatile/clk-sp810.c:103:6: error: implicit declaration of
function 'of_clk_parent_fill' [-Werror=implicit-function-declaration]
Silence it by providing stubs APIs for of_clk_parent_fill().
Throw in a stub for of_clk_get_parent_count() too because we're
in the area.
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Cc: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk')
0 files changed, 0 insertions, 0 deletions