aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-03-29 04:22:50 -0400
committerPaul Mundt <lethal@linux-sh.org>2010-03-29 04:22:50 -0400
commit0776d602abe61871d27accd8e3bcb225a96f4a9f (patch)
tree630c97bec9c1475faf8b78c43a3a10edd04d2f55 /arch/sh/kernel
parentc55fbdd3f97a468d51cbdb03bb7c9c7287fbda2f (diff)
sh: provide some clock lookup aliases for legacy CPG parts.
For the CPUs that have not yet been converted off of legacy CPG we provide some pclk aliases in order to make driver migration easier. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel')
-rw-r--r--arch/sh/kernel/cpu/clock-cpg.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/clock-cpg.c b/arch/sh/kernel/cpu/clock-cpg.c
index eed5eaff96ba..17a73ad7a20d 100644
--- a/arch/sh/kernel/cpu/clock-cpg.c
+++ b/arch/sh/kernel/cpu/clock-cpg.c
@@ -338,6 +338,11 @@ int __init __deprecated cpg_clk_init(void)
338 ret |= clk_register(clk); 338 ret |= clk_register(clk);
339 } 339 }
340 340
341 clk_add_alias("tmu_fck", NULL, "peripheral_clk", NULL);
342 clk_add_alias("mtu2_fck", NULL, "peripheral_clk", NULL);
343 clk_add_alias("cmt_fck", NULL, "peripheral_clk", NULL);
344 clk_add_alias("sci_ick", NULL, "peripheral_clk", NULL);
345
341 return ret; 346 return ret;
342} 347}
343 348