1 #ifndef __ASM_MACH_CLKDEV_H
2 #define __ASM_MACH_CLKDEV_H
4 #include <linux/module.h>
5 #include <plat/clock.h>
9 const struct clk_ops
*ops
;
11 const struct icst_params
*params
;
16 static inline int __clk_get(struct clk
*clk
)
18 return try_module_get(clk
->owner
);
21 static inline void __clk_put(struct clk
*clk
)
23 module_put(clk
->owner
);