diff options
author | dmitry pervushin <dimka@nomadgs.com> | 2007-05-15 08:42:22 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-05-21 14:34:45 +0900 |
commit | dfbbbe92956b849a6704dbd5352348d6ba1165da (patch) | |
tree | 206daa54ab3567503c4cd7db9ecb85af31608bda /arch/sh/kernel/cpu/clock.c | |
parent | e113276624104d9c3b25f333d8dd999b804d980a (diff) | |
download | op-kernel-dev-dfbbbe92956b849a6704dbd5352348d6ba1165da.zip op-kernel-dev-dfbbbe92956b849a6704dbd5352348d6ba1165da.tar.gz |
sh: Fix clock multiplier on SH7722.
This fixes up the master clock multiplier and initial rate
propagation for the SH7722 clocks.
Signed-off-by: dmitry pervushin <dimka@nomadgs.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/cpu/clock.c')
-rw-r--r-- | arch/sh/kernel/cpu/clock.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/clock.c b/arch/sh/kernel/cpu/clock.c index 014f318..6325154 100644 --- a/arch/sh/kernel/cpu/clock.c +++ b/arch/sh/kernel/cpu/clock.c @@ -278,6 +278,11 @@ arch_init_clk_ops(struct clk_ops **ops, int type) { } +void __init __attribute__ ((weak)) +arch_clk_init(void) +{ +} + static int show_clocks(char *buf, char **start, off_t off, int len, int *eof, void *data) { @@ -314,6 +319,8 @@ int __init clk_init(void) ret |= clk_register(clk); } + arch_clk_init(); + /* Kick the child clocks.. */ propagate_rate(&master_clk); propagate_rate(&bus_clk); |