[U-Boot] [PATCH v1 2/2] clk: at91: Add .ops callback for clk_generic

Stephen Warren swarren at wwwdotorg.org
Tue Aug 30 18:28:49 CEST 2016


On 08/30/2016 02:11 AM, Wenyou Yang wrote:
> To avoid the wild pointer as NULL->of_xlate, add an empty .ops
> callback for the clk_generic driver.

This shouldn't be needed. If this driver isn't a clock provider, and it 
cannot be a clock provider without implementing and clock ops, then 
nothing should be calling of_xlate through its ops pointer, and the 
driver shouldn't be a UCLASS_CLK.


More information about the U-Boot mailing list