[PATCH v1] clk: Export __clk_lookup()

Stephen Boyd sboyd at kernel.org
Wed Jul 22 20:51:33 EDT 2020


Quoting Heiko Stuebner (2020-07-22 11:26:50)
> Hi Elaine,
> 
> Am Mittwoch, 22. Juli 2020, 04:32:30 CEST schrieb Elaine Zhang:
> > Export __clk_lookup() to support user built as module.
> > 
> > ERROR:
> > drivers/clk/rockchip/clk.ko: In function
> > `rockchip_clk_protect_critical':
> > drivers/clk/rockchip/clk.c:741:
> > undefined reference to `__clk_lookup'
> 
> can you elaborate a bit more on why this would be needed?
> 
> Because right now the Rockchip clocks are of course built into
> the main kernel image (especially due to them being needed during early
> boot) and __clk_lookup actually is a pretty deep part of the clock-
> framework itself, as probably also denoted by the "__" in the function
> name.
> 

Can you stop using __clk_lookup()? The plan is to remove it.



More information about the Linux-rockchip mailing list