projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54ecb8f
)
clk: ti: clkctrl: fix setting up clkctrl clocks
author
Tero Kristo
<t-kristo@ti.com>
Thu, 12 Sep 2019 13:26:04 +0000
(16:26 +0300)
committer
Tero Kristo
<t-kristo@ti.com>
Thu, 31 Oct 2019 13:18:28 +0000
(15:18 +0200)
Apply the proper register function for clkctrl clocks, so they get
registered under the clk_hw_omap list also. This allows checking their
type runtime.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
drivers/clk/ti/clkctrl.c
patch
|
blob
|
history
diff --git
a/drivers/clk/ti/clkctrl.c
b/drivers/clk/ti/clkctrl.c
index 975995eea15cb51d64100e625f6b433c34998998..a914df2e9e1b48539283a5dc0320ca0b26a56578 100644
(file)
--- a/
drivers/clk/ti/clkctrl.c
+++ b/
drivers/clk/ti/clkctrl.c
@@
-622,7
+622,7
@@
static void __init _ti_omap4_clkctrl_setup(struct device_node *node)
init.ops = &omap4_clkctrl_clk_ops;
hw->hw.init = &init;
- clk = ti_clk_register(NULL, &hw->hw, init.name);
+ clk = ti_clk_register
_omap_hw
(NULL, &hw->hw, init.name);
if (IS_ERR_OR_NULL(clk))
goto cleanup;