aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-dove/common.c3
-rw-r--r--arch/arm/mach-mv78xx0/common.c3
-rw-r--r--arch/arm/mach-orion5x/common.c3
3 files changed, 3 insertions, 6 deletions
diff --git a/arch/arm/mach-dove/common.c b/arch/arm/mach-dove/common.c
index 0cdaa3851d2e..0d420a2bfe3e 100644
--- a/arch/arm/mach-dove/common.c
+++ b/arch/arm/mach-dove/common.c
@@ -88,8 +88,7 @@ static void __init dove_clk_init(void)
88 struct clk *nand, *camera, *i2s0, *i2s1, *crypto, *ac97, *pdma; 88 struct clk *nand, *camera, *i2s0, *i2s1, *crypto, *ac97, *pdma;
89 struct clk *xor0, *xor1, *ge, *gephy; 89 struct clk *xor0, *xor1, *ge, *gephy;
90 90
91 tclk = clk_register_fixed_rate(NULL, "tclk", NULL, CLK_IS_ROOT, 91 tclk = clk_register_fixed_rate(NULL, "tclk", NULL, 0, dove_tclk);
92 dove_tclk);
93 92
94 usb0 = dove_register_gate("usb0", "tclk", CLOCK_GATING_BIT_USB0); 93 usb0 = dove_register_gate("usb0", "tclk", CLOCK_GATING_BIT_USB0);
95 usb1 = dove_register_gate("usb1", "tclk", CLOCK_GATING_BIT_USB1); 94 usb1 = dove_register_gate("usb1", "tclk", CLOCK_GATING_BIT_USB1);
diff --git a/arch/arm/mach-mv78xx0/common.c b/arch/arm/mach-mv78xx0/common.c
index 99cc93900a24..45a05207b418 100644
--- a/arch/arm/mach-mv78xx0/common.c
+++ b/arch/arm/mach-mv78xx0/common.c
@@ -168,8 +168,7 @@ static struct clk *tclk;
168 168
169static void __init clk_init(void) 169static void __init clk_init(void)
170{ 170{
171 tclk = clk_register_fixed_rate(NULL, "tclk", NULL, CLK_IS_ROOT, 171 tclk = clk_register_fixed_rate(NULL, "tclk", NULL, 0, get_tclk());
172 get_tclk());
173 172
174 orion_clkdev_init(tclk); 173 orion_clkdev_init(tclk);
175} 174}
diff --git a/arch/arm/mach-orion5x/common.c b/arch/arm/mach-orion5x/common.c
index 70c3366c8d03..058994e99570 100644
--- a/arch/arm/mach-orion5x/common.c
+++ b/arch/arm/mach-orion5x/common.c
@@ -66,8 +66,7 @@ static struct clk *tclk;
66 66
67void __init clk_init(void) 67void __init clk_init(void)
68{ 68{
69 tclk = clk_register_fixed_rate(NULL, "tclk", NULL, CLK_IS_ROOT, 69 tclk = clk_register_fixed_rate(NULL, "tclk", NULL, 0, orion5x_tclk);
70 orion5x_tclk);
71 70
72 orion_clkdev_init(tclk); 71 orion_clkdev_init(tclk);
73} 72}