summaryrefslogtreecommitdiff
path: root/arch/arm/mach-realview/include
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2010-01-14 15:48:06 +0300
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-05-02 12:35:33 +0400
commitf4b8b319bf21bf3576014ce7336763cd3e1684ef (patch)
tree5f3200e3b82dd23fc58633e010f3996246d81607 /arch/arm/mach-realview/include
parentc5a0adb51002e51a4254cb7f0ab7190d41d8b930 (diff)
downloadlinux-f4b8b319bf21bf3576014ce7336763cd3e1684ef.tar.xz
ARM: Realview/Versatile/Integrator: separate out common clock code
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-realview/include')
-rw-r--r--arch/arm/mach-realview/include/mach/clkdev.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-realview/include/mach/clkdev.h b/arch/arm/mach-realview/include/mach/clkdev.h
index 04b37a89801c..fefe4671255c 100644
--- a/arch/arm/mach-realview/include/mach/clkdev.h
+++ b/arch/arm/mach-realview/include/mach/clkdev.h
@@ -1,6 +1,15 @@
#ifndef __ASM_MACH_CLKDEV_H
#define __ASM_MACH_CLKDEV_H
+#include <asm/hardware/icst.h>
+
+struct clk {
+ unsigned long rate;
+ const struct icst_params *params;
+ u32 oscoff;
+ void (*setvco)(struct clk *, struct icst_vco vco);
+};
+
#define __clk_get(clk) ({ 1; })
#define __clk_put(clk) do { } while (0)