diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2017-04-28 16:08:53 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2017-06-02 20:51:34 +0300 |
commit | 428c9de583921c4b699622272c04af4e362c474c (patch) | |
tree | 042ebdd81c2873bbe154ccbd52a8a6d510360025 /arch/mips | |
parent | 4e19dcd93b894e9903f4be89527e0a78304da685 (diff) | |
download | linux-428c9de583921c4b699622272c04af4e362c474c.tar.xz |
clk: Provide dummy of_clk_get_from_provider() for compile-testing
When CONFIG_ON=n, dummies are provided for of_clk_get() and
of_clk_get_by_name(), but not for of_clk_get_from_provider().
Provide a dummy for the latter, to improve the ability to do
compile-testing. This requires removing the existing dummy in the
Lantiq clock code.
Fixes: 766e6a4ec602d0c1 ("clk: add DT clock binding support")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Thomas Langer <thomas.langer@intel.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/lantiq/clk.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/mips/lantiq/clk.c b/arch/mips/lantiq/clk.c index 149f0513c4f5..a263d1b751ff 100644 --- a/arch/mips/lantiq/clk.c +++ b/arch/mips/lantiq/clk.c @@ -160,11 +160,6 @@ void clk_deactivate(struct clk *clk) } EXPORT_SYMBOL(clk_deactivate); -struct clk *of_clk_get_from_provider(struct of_phandle_args *clkspec) -{ - return NULL; -} - static inline u32 get_counter_resolution(void) { u32 res; |