summaryrefslogtreecommitdiffstats
path: root/kernel/arch/arm/mach-versatile/include/mach/clkdev.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/arm/mach-versatile/include/mach/clkdev.h')
-rw-r--r--kernel/arch/arm/mach-versatile/include/mach/clkdev.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/kernel/arch/arm/mach-versatile/include/mach/clkdev.h b/kernel/arch/arm/mach-versatile/include/mach/clkdev.h
new file mode 100644
index 000000000..e58d0771b
--- /dev/null
+++ b/kernel/arch/arm/mach-versatile/include/mach/clkdev.h
@@ -0,0 +1,16 @@
+#ifndef __ASM_MACH_CLKDEV_H
+#define __ASM_MACH_CLKDEV_H
+
+#include <plat/clock.h>
+
+struct clk {
+ unsigned long rate;
+ const struct clk_ops *ops;
+ const struct icst_params *params;
+ void __iomem *vcoreg;
+};
+
+#define __clk_get(clk) ({ 1; })
+#define __clk_put(clk) do { } while (0)
+
+#endif