diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-01-14 07:48:06 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-05-02 04:35:33 -0400 |
commit | f4b8b319bf21bf3576014ce7336763cd3e1684ef (patch) | |
tree | 5f3200e3b82dd23fc58633e010f3996246d81607 /arch/arm/mach-versatile/include | |
parent | c5a0adb51002e51a4254cb7f0ab7190d41d8b930 (diff) |
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-versatile/include')
-rw-r--r-- | arch/arm/mach-versatile/include/mach/clkdev.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-versatile/include/mach/clkdev.h b/arch/arm/mach-versatile/include/mach/clkdev.h index 04b37a89801c..fefe4671255c 100644 --- a/arch/arm/mach-versatile/include/mach/clkdev.h +++ b/arch/arm/mach-versatile/include/mach/clkdev.h | |||
@@ -1,6 +1,15 @@ | |||
1 | #ifndef __ASM_MACH_CLKDEV_H | 1 | #ifndef __ASM_MACH_CLKDEV_H |
2 | #define __ASM_MACH_CLKDEV_H | 2 | #define __ASM_MACH_CLKDEV_H |
3 | 3 | ||
4 | #include <asm/hardware/icst.h> | ||
5 | |||
6 | struct clk { | ||
7 | unsigned long rate; | ||
8 | const struct icst_params *params; | ||
9 | u32 oscoff; | ||
10 | void (*setvco)(struct clk *, struct icst_vco vco); | ||
11 | }; | ||
12 | |||
4 | #define __clk_get(clk) ({ 1; }) | 13 | #define __clk_get(clk) ({ 1; }) |
5 | #define __clk_put(clk) do { } while (0) | 14 | #define __clk_put(clk) do { } while (0) |
6 | 15 | ||