Steven Miao | 9690031 | 2012-05-16 17:49:52 +0800 | [diff] [blame] | 1 | #ifndef __ASM_CLKDEV__H_ |
2 | #define __ASM_CLKDEV__H_ | ||||
3 | |||||
4 | #include <linux/slab.h> | ||||
5 | |||||
6 | static inline struct clk_lookup_alloc *__clkdev_alloc(size_t size) | ||||
7 | { | ||||
8 | return kzalloc(size, GFP_KERNEL); | ||||
9 | } | ||||
10 | |||||
11 | #define __clk_put(clk) | ||||
12 | #define __clk_get(clk) ({ 1; }) | ||||
13 | |||||
14 | #endif |