diff options
author | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2016-09-29 16:28:55 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2016-10-18 00:31:49 +0200 |
commit | 981e1bea55e56abdb16505502e4a69ff868e87d3 (patch) | |
tree | 46b022783dbb1c8c7188d009b466e97689b056a1 /drivers/clk/clk-max77686.c | |
parent | clk: core: add __init decoration for CLK_OF_DECLARE_DRIVER function (diff) | |
download | linux-981e1bea55e56abdb16505502e4a69ff868e87d3.tar.xz linux-981e1bea55e56abdb16505502e4a69ff868e87d3.zip |
clk: mvebu: armada-37xx-periph: Fix the clock provider registration
While trying using a peripheral clock on a driver, I saw that the clock
pointer returned by the provider was NULL.
The problem was a missing indirection. It was the pointer stored in the
hws array which needed to be updated not the value it contains.
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Fixes: 8ca4746a78ab ("clk: mvebu: Add the peripheral clock driver for Armada 3700")
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/clk-max77686.c')
0 files changed, 0 insertions, 0 deletions