projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c55fbdd
)
sh: provide some clock lookup aliases for legacy CPG parts.
author
Paul Mundt
<lethal@linux-sh.org>
Mon, 29 Mar 2010 08:22:50 +0000
(17:22 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Mon, 29 Mar 2010 08:22:50 +0000
(17:22 +0900)
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>
arch/sh/kernel/cpu/clock-cpg.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/kernel/cpu/clock-cpg.c
b/arch/sh/kernel/cpu/clock-cpg.c
index eed5eaff96bae6fc92eac566325cb4f593453203..17a73ad7a20d558f65f41f768ea9f35aeb071e4c 100644
(file)
--- 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)
ret |= clk_register(clk);
}
+ clk_add_alias("tmu_fck", NULL, "peripheral_clk", NULL);
+ clk_add_alias("mtu2_fck", NULL, "peripheral_clk", NULL);
+ clk_add_alias("cmt_fck", NULL, "peripheral_clk", NULL);
+ clk_add_alias("sci_ick", NULL, "peripheral_clk", NULL);
+
return ret;
}
This page took
0.024578 seconds
and
5
git commands to generate.