[PATCH] clk: SPEAr600: Fix ethernet clock name for DT based probing

Viresh Kumar viresh.kumar at st.com
Sun May 13 23:34:03 EDT 2012


On 5/11/2012 2:11 PM, Stefan Roese wrote:
> diff --git a/drivers/clk/spear/spear6xx_clock.c b/drivers/clk/spear/spear6xx_clock.c
> index f9a20b3..bf33c1d 100644
> --- a/drivers/clk/spear/spear6xx_clock.c
> +++ b/drivers/clk/spear/spear6xx_clock.c
> @@ -298,7 +298,7 @@ void __init spear6xx_clk_init(void)
>  
>  	clk = clk_register_gate(NULL, "gmac_clk", "ahb_clk", 0, PERIP1_CLK_ENB,
>  			GMAC_CLK_ENB, 0, &_lock);
> -	clk_register_clkdev(clk, NULL, "gmac");
> +	clk_register_clkdev(clk, NULL, "e0800000.ethernet");
>  
>  	clk = clk_register_gate(NULL, "i2c_clk", "ahb_clk", 0, PERIP1_CLK_ENB,
>  			I2C_CLK_ENB, 0, &_lock);

Acked-by: Viresh Kumar <viresh.kumar at st.com>

-- 
viresh



More information about the linux-arm-kernel mailing list