9
0
Fork 0

clk: introduce CLK_SET_RATE_PARENT flag

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2014-03-13 10:03:51 +01:00
parent 3e9a71f78d
commit 503cc1518e
1 changed files with 3 additions and 0 deletions

View File

@ -196,6 +196,9 @@ static inline int clk_set_rate(struct clk *clk, unsigned long rate)
#endif
#ifdef CONFIG_COMMON_CLK
#define CLK_SET_RATE_PARENT (1 << 0) /* propagate rate change up one level */
struct clk_ops {
int (*enable)(struct clk *clk);
void (*disable)(struct clk *clk);