1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[ar7] add support for 2.6.37, thanks Wipster!

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25569 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian
2011-02-18 12:52:04 +00:00
parent 9c5c489cfe
commit a471540b40
13 changed files with 746 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
--- a/arch/mips/ar7/time.c
+++ b/arch/mips/ar7/time.c
@@ -33,6 +33,8 @@ void __init plat_time_init(void)
/* Initialize ar7 clocks so the CPU clock frequency is correct */
ar7_init_clocks();
+ ar7_init_clocks();
+
cpu_clk = clk_get(NULL, "cpu");
if (IS_ERR(cpu_clk)) {
printk(KERN_ERR "unable to get cpu clock\n");
--- a/arch/mips/include/asm/mach-ar7/ar7.h
+++ b/arch/mips/include/asm/mach-ar7/ar7.h
@@ -203,4 +203,6 @@ static inline void ar7_device_off(u32 bi
int __init ar7_gpio_init(void);
void __init ar7_init_clocks(void);
+extern void __init ar7_init_clocks(void);
+
#endif /* __AR7_H__ */