blob: 76a070b1c2e5b4faa83d334e7451365d7a896989 [file] [log] [blame]
Mark Salter81ec9882011-10-04 11:10:50 -04001#ifndef _ASM_CLKDEV_H
2#define _ASM_CLKDEV_H
3
4#include <linux/slab.h>
5
6struct clk;
7
8static inline int __clk_get(struct clk *clk)
9{
10 return 1;
11}
12
13static inline void __clk_put(struct clk *clk)
14{
15}
16
17static inline struct clk_lookup_alloc *__clkdev_alloc(size_t size)
18{
19 return kzalloc(size, GFP_KERNEL);
20}
21
22#endif /* _ASM_CLKDEV_H */