• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef __ASM_CLKDEV__H_
2 #define __ASM_CLKDEV__H_
3 
4 #include <linux/slab.h>
5 
__clkdev_alloc(size_t size)6 static inline struct clk_lookup_alloc *__clkdev_alloc(size_t size)
7 {
8 	return kzalloc(size, GFP_KERNEL);
9 }
10 
11 #ifndef CONFIG_COMMON_CLK
12 #define __clk_put(clk)
13 #define __clk_get(clk) ({ 1; })
14 #endif
15 
16 #endif
17