diff options
Diffstat (limited to 'arch/sh/kernel/cpu/sh3/clock-sh7709.c')
-rw-r--r-- | arch/sh/kernel/cpu/sh3/clock-sh7709.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/sh/kernel/cpu/sh3/clock-sh7709.c b/arch/sh/kernel/cpu/sh3/clock-sh7709.c index fa30b6017730..e8749505bd2a 100644 --- a/arch/sh/kernel/cpu/sh3/clock-sh7709.c +++ b/arch/sh/kernel/cpu/sh3/clock-sh7709.c | |||
@@ -22,13 +22,6 @@ static int stc_multipliers[] = { 1, 2, 4, 8, 3, 6, 1, 1 }; | |||
22 | static int ifc_divisors[] = { 1, 2, 4, 1, 3, 1, 1, 1 }; | 22 | static int ifc_divisors[] = { 1, 2, 4, 1, 3, 1, 1, 1 }; |
23 | static int pfc_divisors[] = { 1, 2, 4, 1, 3, 6, 1, 1 }; | 23 | static int pfc_divisors[] = { 1, 2, 4, 1, 3, 6, 1, 1 }; |
24 | 24 | ||
25 | static void set_bus_parent(struct clk *clk) | ||
26 | { | ||
27 | struct clk *bus_clk = clk_get(NULL, "bus_clk"); | ||
28 | clk->parent = bus_clk; | ||
29 | clk_put(bus_clk); | ||
30 | } | ||
31 | |||
32 | static void master_clk_init(struct clk *clk) | 25 | static void master_clk_init(struct clk *clk) |
33 | { | 26 | { |
34 | int frqcr = ctrl_inw(FRQCR); | 27 | int frqcr = ctrl_inw(FRQCR); |
@@ -50,9 +43,6 @@ static unsigned long module_clk_recalc(struct clk *clk) | |||
50 | } | 43 | } |
51 | 44 | ||
52 | static struct clk_ops sh7709_module_clk_ops = { | 45 | static struct clk_ops sh7709_module_clk_ops = { |
53 | #ifdef CLOCK_MODE_0_1_2_7 | ||
54 | .init = set_bus_parent, | ||
55 | #endif | ||
56 | .recalc = module_clk_recalc, | 46 | .recalc = module_clk_recalc, |
57 | }; | 47 | }; |
58 | 48 | ||
@@ -78,7 +68,6 @@ static unsigned long cpu_clk_recalc(struct clk *clk) | |||
78 | } | 68 | } |
79 | 69 | ||
80 | static struct clk_ops sh7709_cpu_clk_ops = { | 70 | static struct clk_ops sh7709_cpu_clk_ops = { |
81 | .init = set_bus_parent, | ||
82 | .recalc = cpu_clk_recalc, | 71 | .recalc = cpu_clk_recalc, |
83 | }; | 72 | }; |
84 | 73 | ||