clkdev.h 329 B

1234567891011121314151617181920212223
  1. #ifndef _ASM_CLKDEV_H
  2. #define _ASM_CLKDEV_H
  3. #include <linux/slab.h>
  4. struct clk;
  5. static inline int __clk_get(struct clk *clk)
  6. {
  7. return 1;
  8. }
  9. static inline void __clk_put(struct clk *clk)
  10. {
  11. }
  12. static inline struct clk_lookup_alloc *__clkdev_alloc(size_t size)
  13. {
  14. return kzalloc(size, GFP_KERNEL);
  15. }
  16. #endif /* _ASM_CLKDEV_H */