ARM: Indirect round/set_rate operations through clk structure
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
15
arch/arm/plat-versatile/include/plat/clock.h
Normal file
15
arch/arm/plat-versatile/include/plat/clock.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef PLAT_CLOCK_H
|
||||
#define PLAT_CLOCK_H
|
||||
|
||||
#include <asm/hardware/icst.h>
|
||||
|
||||
struct clk_ops {
|
||||
long (*round)(struct clk *, unsigned long);
|
||||
int (*set)(struct clk *, unsigned long);
|
||||
void (*setvco)(struct clk *, struct icst_vco);
|
||||
};
|
||||
|
||||
int icst_clk_set(struct clk *, unsigned long);
|
||||
long icst_clk_round(struct clk *, unsigned long);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user