Avoid beyond bounds copy while caching ACL
[zen-stable.git] / arch / c6x / include / asm / clkdev.h
blob76a070b1c2e5b4faa83d334e7451365d7a896989
1 #ifndef _ASM_CLKDEV_H
2 #define _ASM_CLKDEV_H
4 #include <linux/slab.h>
6 struct clk;
8 static inline int __clk_get(struct clk *clk)
10 return 1;
13 static inline void __clk_put(struct clk *clk)
17 static inline struct clk_lookup_alloc *__clkdev_alloc(size_t size)
19 return kzalloc(size, GFP_KERNEL);
22 #endif /* _ASM_CLKDEV_H */