Skip to contentSkip to conversation

MIPS: ath79: Remove CLK_IS_ROOT

PATCH Applied Stephen Boyd 2 participants 2 messages Apr 20, 2016 – May 11, 2016 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: ath79: 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.

---
 arch/mips/ath79/clock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/ath79/clock.c +1 -1
index 3cfc5ecddddf..2e7378467c5c 100644
@@ -44,7 +44,7 @@ static struct clk *__init ath79_add_sys_clkdev(
 	struct clk *clk;
 	int err;
 
-	clk = clk_register_fixed_rate(NULL, id, NULL, CLK_IS_ROOT, rate);
+	clk = clk_register_fixed_rate(NULL, id, NULL, 0, rate);
 	if (!clk)
 		panic("failed to allocate %s clock structure", id);
 
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project