diff options
Diffstat (limited to 'arch/sh/kernel/cpu/sh4a/clock-sh7724.c')
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/clock-sh7724.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/clock-sh7724.c b/arch/sh/kernel/cpu/sh4a/clock-sh7724.c index 9db743802f06..70517900ef8f 100644 --- a/arch/sh/kernel/cpu/sh4a/clock-sh7724.c +++ b/arch/sh/kernel/cpu/sh4a/clock-sh7724.c | |||
@@ -129,11 +129,15 @@ struct clk *main_clks[] = { | |||
129 | 129 | ||
130 | static int divisors[] = { 2, 3, 4, 6, 8, 12, 16, 0, 24, 32, 36, 48, 0, 72 }; | 130 | static int divisors[] = { 2, 3, 4, 6, 8, 12, 16, 0, 24, 32, 36, 48, 0, 72 }; |
131 | 131 | ||
132 | static struct clk_div_mult_table div4_table = { | 132 | static struct clk_div_mult_table div4_div_mult_table = { |
133 | .divisors = divisors, | 133 | .divisors = divisors, |
134 | .nr_divisors = ARRAY_SIZE(divisors), | 134 | .nr_divisors = ARRAY_SIZE(divisors), |
135 | }; | 135 | }; |
136 | 136 | ||
137 | static struct clk_div4_table div4_table = { | ||
138 | .div_mult_table = &div4_div_mult_table, | ||
139 | }; | ||
140 | |||
137 | enum { DIV4_I, DIV4_SH, DIV4_B, DIV4_P, DIV4_M1, DIV4_NR }; | 141 | enum { DIV4_I, DIV4_SH, DIV4_B, DIV4_P, DIV4_M1, DIV4_NR }; |
138 | 142 | ||
139 | #define DIV4(_str, _reg, _bit, _mask, _flags) \ | 143 | #define DIV4(_str, _reg, _bit, _mask, _flags) \ |