diff options
Diffstat (limited to 'target/linux/xburst/files-2.6.32/arch/mips/jz4740/clock.h')
-rw-r--r-- | target/linux/xburst/files-2.6.32/arch/mips/jz4740/clock.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/xburst/files-2.6.32/arch/mips/jz4740/clock.h b/target/linux/xburst/files-2.6.32/arch/mips/jz4740/clock.h index 88ce07d16..e0fd9ece5 100644 --- a/target/linux/xburst/files-2.6.32/arch/mips/jz4740/clock.h +++ b/target/linux/xburst/files-2.6.32/arch/mips/jz4740/clock.h @@ -16,6 +16,17 @@ #ifndef __JZ4740_CLOCK_H__ #define __JZ4740_CLOCK_H__ +struct jz4740_clock_board_data { + unsigned long ext_rate; + unsigned long rtc_rate; +}; + +extern struct jz4740_clock_board_data jz4740_clock_bdata; + +int jz_init_clocks(void); + +struct clk; + struct clk_ops { unsigned long (*get_rate)(struct clk* clk); unsigned long (*round_rate)(struct clk *clk, unsigned long rate); |