From: =?UTF-8?q?Andreas=20Bie=C3=9Fmann?= Date: Fri, 28 Oct 2016 18:49:18 +0200 Subject: [U-Boot] [U-Boot, v3, 1/7] clk: clk-uclass: Assign clk->dev before call .of_xlate In-Reply-To: <1474945234-30540-2-git-send-email-wenyou.yang@atmel.com> (from Wenyou Yang on Tue, 27 Sep 2016 11:00:28 +0800) References: <1474945234-30540-2-git-send-email-wenyou.yang@atmel.com> Message-ID: <20161028164918.28646-1-andreas@biessmann.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Wenyou Yang, Wenyou Yang 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 >Acked-by: Stephen Warren >Acked-by: Simon Glass >--- > >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