summaryrefslogtreecommitdiffstats
path: root/drivers/clk/ti/fixed-factor.c
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2016-09-29 11:06:40 +0200
committerTero Kristo <t-kristo@ti.com>2017-03-08 11:58:18 +0100
commit1ae79c46cf195ea39407bd5a2b234304d537980f (patch)
treec54b41385bc0fcd1faf55a98851ac765bf65cf9e /drivers/clk/ti/fixed-factor.c
parentclk: ti: add API for creating aliases automatically for simple clock types (diff)
downloadlinux-1ae79c46cf195ea39407bd5a2b234304d537980f.tar.xz
linux-1ae79c46cf195ea39407bd5a2b234304d537980f.zip
clk: ti: use automatic clock alias generation framework
Generate clock aliases automatically for all TI clock drivers. Signed-off-by: Tero Kristo <t-kristo@ti.com> Acked-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers/clk/ti/fixed-factor.c')
-rw-r--r--drivers/clk/ti/fixed-factor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/ti/fixed-factor.c b/drivers/clk/ti/fixed-factor.c
index 3cd406768909..0174a51a4ba6 100644
--- a/drivers/clk/ti/fixed-factor.c
+++ b/drivers/clk/ti/fixed-factor.c
@@ -62,6 +62,7 @@ static void __init of_ti_fixed_factor_clk_setup(struct device_node *node)
if (!IS_ERR(clk)) {
of_clk_add_provider(node, of_clk_src_simple_get, clk);
of_ti_clk_autoidle_setup(node);
+ ti_clk_add_alias(NULL, clk, clk_name);
}
}
CLK_OF_DECLARE(ti_fixed_factor_clk, "ti,fixed-factor-clock",