error: implicit declaration of function '__clk_get_flags'

drivers/clk/ingenic/clk-t40.c:249:11: error: implicit declaration of function '__clk_get_flags'; did you mean '__clk_set_flags'? [-Werror=implicit-function-declaration]
         , __clk_get_flags(clk) & CLK_FLG_ENABLE? "en": "dis"
           ^~~~~~~~~~~~~~~
           __clk_set_flags
commit 98d8a60eccee74165793379f1f8a3b1cef3131c7
Author: Stephen Boyd <sboyd@codeaurora.org>
Date:   Mon Jun 29 16:56:30 2015 -0700

    clk: Convert __clk_get_flags() to clk_hw_get_flags()

    Mostly converted with the following snippet:

    @@
    struct clk_hw *E;
    @@

    -__clk_get_flags(E->clk)
    +clk_hw_get_flags(E)

    Acked-by: Tero Kristo <t-kristo@ti.com>
    Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
    Cc: Max Filippov <jcmvbkbc@gmail.com>
    Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
    Cc: Daniel Thompson <daniel.thompson@linaro.org>
    Cc: Coquelin <mcoquelin.stm32@gmail.com>
    Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
+       struct clk_hw *clk_hw;

[...]
-               if (__clk_get_flags(clk) & CLK_IS_BASIC) {
+               clk_hw = __clk_get_hw(clk);
+               if (clk_hw_get_flags(clk_hw) & CLK_IS_BASIC) {
0%