ARM: Realview/Versatile/Integrator: separate out common clock code

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
Russell King
2010-01-14 12:48:06 +00:00
parent c5a0adb510
commit f4b8b319bf
19 changed files with 33 additions and 181 deletions

View File

@@ -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)