X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=target%2Flinux%2Fxburst%2Ffiles-2.6.32%2Farch%2Fmips%2Fjz4740%2Fclock.h;h=9c91f0d94badbd7025d2ce3ca9fc55bc4992388c;hb=cb5d63ab6874338045231db133b238ae79e44843;hp=88ce07d16d8ce5a85d90514cee871c3df7d710cf;hpb=843f6cd1fa11357f5d2ef5c0e0bae4f29e491b8b;p=openwrt-10.03%2F.git 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..9c91f0d94 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,19 @@ #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 jz4740_clock_init(void); +void jz4740_clock_suspend(void); +void jz4740_clock_resume(void); + +struct clk; + struct clk_ops { unsigned long (*get_rate)(struct clk* clk); unsigned long (*round_rate)(struct clk *clk, unsigned long rate);