[U-Boot] [U-Boot, v3, 1/7] clk: clk-uclass: Assign clk->dev before call .of_xlate
Andreas Bießmann
andreas at biessmann.org
Fri Oct 28 18:49:18 CEST 2016
Dear Wenyou Yang,
Wenyou Yang <wenyou.yang at atmel.com> writes:
>In order to make clk->dev available in ops->of_xlate() to get the
>clock ID from the 'reg' property of the clock node, assign the
>clk->dev before calling ops->of_xlate().
>
>Signed-off-by: Wenyou Yang <wenyou.yang at atmel.com>
>Acked-by: Stephen Warren <swarren at nvidia.com>
>Acked-by: Simon Glass <sjg at chromium.org>
>---
>
>Changes in v3: None
>Changes in v2:
> - Add Acked-by tag.
>
> drivers/clk/clk-uclass.c | 3 +++
> 1 file changed, 3 insertions(+)
applied to u-boot-atmel/master, thanks!
Best regards,
Andreas Bießmann
More information about the U-Boot
mailing list