2012-05-16 17:49:52 +08:00
|
|
|
#ifndef __ASM_CLKDEV__H_
|
|
|
|
#define __ASM_CLKDEV__H_
|
|
|
|
|
|
|
|
#include <linux/slab.h>
|
|
|
|
|
|
|
|
static inline struct clk_lookup_alloc *__clkdev_alloc(size_t size)
|
|
|
|
{
|
|
|
|
return kzalloc(size, GFP_KERNEL);
|
|
|
|
}
|
|
|
|
|
2013-08-25 02:10:41 +08:00
|
|
|
#ifndef CONFIG_COMMON_CLK
|
2012-05-16 17:49:52 +08:00
|
|
|
#define __clk_put(clk)
|
|
|
|
#define __clk_get(clk) ({ 1; })
|
2013-08-25 02:10:41 +08:00
|
|
|
#endif
|
2012-05-16 17:49:52 +08:00
|
|
|
|
|
|
|
#endif
|