1 #ifndef __ASM_MACH_CLKDEV_H
2 #define __ASM_MACH_CLKDEV_H
4 #include <linux/module.h>
5 #include <asm/hardware/icst525.h>
10 const struct icst525_params
*params
;
12 void (*setvco
)(struct clk
*, struct icst525_vco vco
);
15 static inline int __clk_get(struct clk
*clk
)
17 return try_module_get(clk
->owner
);
20 static inline void __clk_put(struct clk
*clk
)
22 module_put(clk
->owner
);