lkml.org 
[lkml]   [2020]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH V3 01/10] clk: composite: Export clk_hw_register_composite()
    Date
    Export clk_hw_register_composite() to support user built as module.

    ERROR: modpost: "clk_hw_register_composite" [drivers/clk/imx/mxc-clk.ko] undefined!

    Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
    Reviewed-by: Stephen Boyd <sboyd@kernel.org>
    ---
    Changes since V2:
    - improve the commit message.
    ---
    drivers/clk/clk-composite.c | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/drivers/clk/clk-composite.c b/drivers/clk/clk-composite.c
    index 7376f57..2ddb54f 100644
    --- a/drivers/clk/clk-composite.c
    +++ b/drivers/clk/clk-composite.c
    @@ -328,6 +328,7 @@ struct clk_hw *clk_hw_register_composite(struct device *dev, const char *name,
    rate_hw, rate_ops, gate_hw,
    gate_ops, flags);
    }
    +EXPORT_SYMBOL_GPL(clk_hw_register_composite);

    struct clk_hw *clk_hw_register_composite_pdata(struct device *dev,
    const char *name,
    --
    2.7.4
    \
     
     \ /
      Last update: 2020-06-29 21:04    [W:3.260 / U:0.876 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site