| 1 | Index: linux-3.0.3/arch/mips/lantiq/clk.c |
| 2 | =================================================================== |
| 3 | --- linux-3.0.3.orig/arch/mips/lantiq/clk.c 2011-09-29 20:43:07.000000000 +0200 |
| 4 | +++ linux-3.0.3/arch/mips/lantiq/clk.c 2011-09-29 20:45:14.785132132 +0200 |
| 5 | @@ -91,6 +91,17 @@ |
| 6 | } |
| 7 | EXPORT_SYMBOL(clk_put); |
| 8 | |
| 9 | +int clk_enable(struct clk *clk) |
| 10 | +{ |
| 11 | + /* clocks are always enabled*/ |
| 12 | + return 0; |
| 13 | +} |
| 14 | + |
| 15 | +void clk_disable(struct clk *clk) |
| 16 | +{ |
| 17 | + /* clocks are always enabled*/ |
| 18 | +} |
| 19 | + |
| 20 | static inline u32 ltq_get_counter_resolution(void) |
| 21 | { |
| 22 | u32 res; |
| 23 | |