[xburst] Add per board struct describing the external clock setup.
[openwrt/svn-archive/archive.git] / target / linux / xburst / files-2.6.32 / arch / mips / jz4740 / clock.h
index 88ce07d16d8ce5a85d90514cee871c3df7d710cf..e0fd9ece5de4af306d03885e8aa2ee8f36c45572 100644 (file)
 #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);