summaryrefslogtreecommitdiff
path: root/arch/c6x/include/asm/clkdev.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/c6x/include/asm/clkdev.h')
-rw-r--r--arch/c6x/include/asm/clkdev.h22
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 000000000..76a070b1c
--- /dev/null
+++ b/arch/c6x/include/asm/clkdev.h
@@ -0,0 +1,22 @@
+#ifndef _ASM_CLKDEV_H
+#define _ASM_CLKDEV_H
+
+#include <linux/slab.h>
+
+struct clk;
+
+static inline int __clk_get(struct clk *clk)
+{
+ return 1;
+}
+
+static inline void __clk_put(struct clk *clk)
+{
+}
+
+static inline struct clk_lookup_alloc *__clkdev_alloc(size_t size)
+{
+ return kzalloc(size, GFP_KERNEL);
+}
+
+#endif /* _ASM_CLKDEV_H */