diff options
Diffstat (limited to 'arch/sh/kernel/cpu')
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/clock-sh7785.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/clock-sh7785.c b/arch/sh/kernel/cpu/sh4a/clock-sh7785.c index a4a9bcbec664..705b023f8220 100644 --- a/arch/sh/kernel/cpu/sh4a/clock-sh7785.c +++ b/arch/sh/kernel/cpu/sh4a/clock-sh7785.c | |||
@@ -16,6 +16,7 @@ | |||
16 | #include <linux/cpufreq.h> | 16 | #include <linux/cpufreq.h> |
17 | #include <asm/clock.h> | 17 | #include <asm/clock.h> |
18 | #include <asm/freq.h> | 18 | #include <asm/freq.h> |
19 | #include <cpu/sh7785.h> | ||
19 | 20 | ||
20 | static unsigned int div2[] = { 1, 2, 4, 6, 8, 12, 16, 18, | 21 | static unsigned int div2[] = { 1, 2, 4, 6, 8, 12, 16, 18, |
21 | 24, 32, 36, 48 }; | 22 | 24, 32, 36, 48 }; |
@@ -80,12 +81,11 @@ static struct clk_ops frqmr_clk_ops = { | |||
80 | 81 | ||
81 | static unsigned long pll_recalc(struct clk *clk) | 82 | static unsigned long pll_recalc(struct clk *clk) |
82 | { | 83 | { |
83 | /* | 84 | int multiplier; |
84 | * XXX: PLL1 multiplier is locked for the default clock mode, | 85 | |
85 | * when mode pin detection and configuration support is added, | 86 | multiplier = test_mode_pin(MODE_PIN_MODE4) ? 36 : 72; |
86 | * select the multiplier dynamically. | 87 | |
87 | */ | 88 | return clk->parent->rate * multiplier; |
88 | return clk->parent->rate * 36; | ||
89 | } | 89 | } |
90 | 90 | ||
91 | static struct clk_ops pll_clk_ops = { | 91 | static struct clk_ops pll_clk_ops = { |