Skip to content

Commit

Permalink
Merge tag 'mvebu-soc-4.7-1' of git://git.infradead.org/linux-mvebu in…
Browse files Browse the repository at this point in the history
…to next/soc

Merge "mvebu soc for 4.7" from Gregory CLEMENT:

- Clock framework cleanup with the "Remove CLK_IS_ROOT" series

* tag 'mvebu-soc-4.7-1' of git://git.infradead.org/linux-mvebu:
  ARM: dove: Remove CLK_IS_ROOT
  ARM: orion5x: Remove CLK_IS_ROOT
  ARM: mv78xx0: Remove CLK_IS_ROOT
  • Loading branch information
Arnd Bergmann committed May 9, 2016
2 parents eb07e08 + 3a1a455 commit 8946bdf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions arch/arm/mach-dove/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ static void __init dove_clk_init(void)
struct clk *nand, *camera, *i2s0, *i2s1, *crypto, *ac97, *pdma;
struct clk *xor0, *xor1, *ge, *gephy;

tclk = clk_register_fixed_rate(NULL, "tclk", NULL, CLK_IS_ROOT,
dove_tclk);
tclk = clk_register_fixed_rate(NULL, "tclk", NULL, 0, dove_tclk);

usb0 = dove_register_gate("usb0", "tclk", CLOCK_GATING_BIT_USB0);
usb1 = dove_register_gate("usb1", "tclk", CLOCK_GATING_BIT_USB1);
Expand Down
3 changes: 1 addition & 2 deletions arch/arm/mach-mv78xx0/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,7 @@ static struct clk *tclk;

static void __init clk_init(void)
{
tclk = clk_register_fixed_rate(NULL, "tclk", NULL, CLK_IS_ROOT,
get_tclk());
tclk = clk_register_fixed_rate(NULL, "tclk", NULL, 0, get_tclk());

orion_clkdev_init(tclk);
}
Expand Down
3 changes: 1 addition & 2 deletions arch/arm/mach-orion5x/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ static struct clk *tclk;

void __init clk_init(void)
{
tclk = clk_register_fixed_rate(NULL, "tclk", NULL, CLK_IS_ROOT,
orion5x_tclk);
tclk = clk_register_fixed_rate(NULL, "tclk", NULL, 0, orion5x_tclk);

orion_clkdev_init(tclk);
}
Expand Down

0 comments on commit 8946bdf

Please sign in to comment.