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 */
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);
18 +extern void __init ar7_init_clocks(void);
20 #endif /* __AR7_H__ */