Skip to content
Snippets Groups Projects
Commit 3f56b132 authored by Wenyou Yang's avatar Wenyou Yang Committed by Andreas Bießmann
Browse files

clk: clk-uclass: Assign clk->dev before call .of_xlate


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: default avatarWenyou Yang <wenyou.yang@atmel.com>
Acked-by: default avatarStephen Warren <swarren@nvidia.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent 9e63c49a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment