[octeon]: upgrade to 2.6.37.4
[openwrt.git] / target / linux / ar7 / patches-2.6.37 / 170-clocks_init_earlier.patch
1 --- a/arch/mips/ar7/time.c
2 +++ b/arch/mips/ar7/time.c
3 @@ -33,6 +33,8 @@ void __init plat_time_init(void)
4 /* Initialize ar7 clocks so the CPU clock frequency is correct */
5 ar7_init_clocks();
6
7 + ar7_init_clocks();
8 +
9 cpu_clk = clk_get(NULL, "cpu");
10 if (IS_ERR(cpu_clk)) {
11 printk(KERN_ERR "unable to get cpu clock\n");
12 --- a/arch/mips/include/asm/mach-ar7/ar7.h
13 +++ b/arch/mips/include/asm/mach-ar7/ar7.h
14 @@ -203,4 +203,6 @@ static inline void ar7_device_off(u32 bi
15 int __init ar7_gpio_init(void);
16 void __init ar7_init_clocks(void);
17
18 +extern void __init ar7_init_clocks(void);
19 +
20 #endif /* __AR7_H__ */
This page took 0.05623 seconds and 5 git commands to generate.