Browse Source

powerpc/512x: clk: Remove CLK_IS_ROOT

This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate
CLK_IS_ROOT", 2016-02-02) so remove it.

Cc: Gerhard Sittig <gsi@denx.de>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Stephen Boyd 9 years ago
parent
commit
3fb9c41286
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/powerpc/platforms/512x/clock-commonclk.c

+ 1 - 1
arch/powerpc/platforms/512x/clock-commonclk.c

@@ -221,7 +221,7 @@ static bool soc_has_mclk_mux0_canin(void)
 /* convenience wrappers around the common clk API */
 /* convenience wrappers around the common clk API */
 static inline struct clk *mpc512x_clk_fixed(const char *name, int rate)
 static inline struct clk *mpc512x_clk_fixed(const char *name, int rate)
 {
 {
-	return clk_register_fixed_rate(NULL, name, NULL, CLK_IS_ROOT, rate);
+	return clk_register_fixed_rate(NULL, name, NULL, 0, rate);
 }
 }
 
 
 static inline struct clk *mpc512x_clk_factor(
 static inline struct clk *mpc512x_clk_factor(