2 * mcfclk.h -- coldfire specific clock structure
13 void (*enable
)(struct clk
*);
14 void (*disable
)(struct clk
*);
19 struct clk_ops
*clk_ops
;
21 unsigned long enabled
;
25 extern struct clk
*mcf_clks
[];
26 extern struct clk_ops clk_ops0
;
28 extern struct clk_ops clk_ops1
;
29 #endif /* MCFPM_PPMCR1 */
31 #define DEFINE_CLK(clk_bank, clk_name, clk_slot, clk_rate) \
32 static struct clk __clk_##clk_bank##_##clk_slot = { \
34 .clk_ops = &clk_ops##clk_bank, \
39 void __clk_init_enabled(struct clk
*);
40 void __clk_init_disabled(struct clk
*);
41 #endif /* MCFPM_PPMCR0 */