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:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user