Commit | Line | Data |
---|---|---|
96900315 SM |
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 | ||
ac2df527 | 11 | #ifndef CONFIG_COMMON_CLK |
96900315 SM |
12 | #define __clk_put(clk) |
13 | #define __clk_get(clk) ({ 1; }) | |
ac2df527 | 14 | #endif |
96900315 SM |
15 | |
16 | #endif |