diff options
Diffstat (limited to 'arch/c6x/include/asm/clkdev.h')
-rw-r--r-- | arch/c6x/include/asm/clkdev.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/c6x/include/asm/clkdev.h b/arch/c6x/include/asm/clkdev.h new file mode 100644 index 00000000000..76a070b1c2e --- /dev/null +++ b/arch/c6x/include/asm/clkdev.h | |||
@@ -0,0 +1,22 @@ | |||
1 | #ifndef _ASM_CLKDEV_H | ||
2 | #define _ASM_CLKDEV_H | ||
3 | |||
4 | #include <linux/slab.h> | ||
5 | |||
6 | struct clk; | ||
7 | |||
8 | static inline int __clk_get(struct clk *clk) | ||
9 | { | ||
10 | return 1; | ||
11 | } | ||
12 | |||
13 | static inline void __clk_put(struct clk *clk) | ||
14 | { | ||
15 | } | ||
16 | |||
17 | static inline struct clk_lookup_alloc *__clkdev_alloc(size_t size) | ||
18 | { | ||
19 | return kzalloc(size, GFP_KERNEL); | ||
20 | } | ||
21 | |||
22 | #endif /* _ASM_CLKDEV_H */ | ||