ARM: orion5x: Remove CLK_IS_ROOT
PATCH 1/1 ARM: orion5x: 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 Andrew Lunn <[email protected]>
Signed-off-by Stephen Boyd <[email protected]>
--- arch/arm/mach-orion5x/common.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm/mach-orion5x/common.c +1 -2
@@ -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); }
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
Hi Stephen,
Quoted 5 lines · Stephen Boyd
This flag is a no-op now (see commit
47b0eeb3dc8a"clk: DeprecateCLK_IS_ROOT", 2016-02-02) so remove it.Cc Andrew Lunn <[email protected]>Signed-off-by Stephen Boyd <[email protected]>
Applied on mvebu/soc
Thanks,
Gregory
Quoted 22 lines
--- arch/arm/mach-orion5x/common.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)arch/arm/mach-orion5x/common.c +1
-2@@ -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); }Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
Signature · 4 lines
Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com