On Sat, May 20, 2023 at 02:01:22AM +0300, Dmitry Baryshkov wrote: > Fix building interconnect-clk as a module: > - Add EXPORT_SYMBOL_GPL to the exported functions > - Add MODULE_DESCRIPTION/_LICENSE/_AUTHOR > > Reported-by: Nick Desaulniers <ndesaulniers@xxxxxxxxxx> > Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx> Reviewed-by: Shawn Guo <shawn.guo@xxxxxxxxxx> > --- > drivers/interconnect/icc-clk.c | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers/interconnect/icc-clk.c b/drivers/interconnect/icc-clk.c > index 0db3b654548b..4d43ebff4257 100644 > --- a/drivers/interconnect/icc-clk.c > +++ b/drivers/interconnect/icc-clk.c > @@ -146,6 +146,7 @@ struct icc_provider *icc_clk_register(struct device *dev, > > return ERR_PTR(ret); > } > +EXPORT_SYMBOL_GPL(icc_clk_register); > > /** > * icc_clk_unregister() - unregister a previously registered clk interconnect provider > @@ -166,3 +167,8 @@ void icc_clk_unregister(struct icc_provider *provider) > clk_disable_unprepare(qn->clk); > } > } > +EXPORT_SYMBOL_GPL(icc_clk_unregister); > + > +MODULE_LICENSE("GPL"); > +MODULE_DESCRIPTION("Interconnect wrapper for clocks"); > +MODULE_AUTHOR("Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>"); > -- > 2.39.2 >