Skip to content

Commit

Permalink
clk: qoriq: Remove CLK_IS_ROOT
Browse files Browse the repository at this point in the history
This flag is a no-op now. Remove usage of the flag.

Cc: Hou Zhiqiang <B48286@freescale.com>
Cc: Scott Wood <scottwood@freescale.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
  • Loading branch information
Stephen Boyd committed Apr 15, 2016
1 parent 1fb4742 commit ec3f2fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/clk/clk-qoriq.c
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@ static struct clk *sysclk_from_fixed(struct device_node *node, const char *name)
if (of_property_read_u32(node, "clock-frequency", &rate))
return ERR_PTR(-ENODEV);

return clk_register_fixed_rate(NULL, name, NULL, CLK_IS_ROOT, rate);
return clk_register_fixed_rate(NULL, name, NULL, 0, rate);
}

static struct clk *sysclk_from_parent(const char *name)
Expand Down

0 comments on commit ec3f2fc

Please sign in to comment.