[PATCH] clk: at91: fix pmc_clk_ids data type attriubte

Nicolas Ferre nicolas.ferre at atmel.com
Tue Dec 17 04:33:04 EST 2013


On 16/12/2013 22:25, Boris BREZILLON :
> Fix pmc_clk_ids data type attribute (__initdata -> __initconst).
> 
> Signed-off-by: Boris BREZILLON <b.brezillon at overkiz.com>
> Reported-by: Fengguang Wu <fengguang.wu at intel.com>

Acked-by: Nicolas Ferre <nicolas.ferre at atmel.com>

I take it in at91-3.14-cleanup2 branch and send it upstream through
arm-soc like any other CCF material for AT91 for the 3.14 release.

I guess that even without Mike Acked-by, this little fix can follow this
path.

Bye,

> ---
>  drivers/clk/at91/pmc.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/clk/at91/pmc.c b/drivers/clk/at91/pmc.c
> index 7b9db60..4c03eda 100644
> --- a/drivers/clk/at91/pmc.c
> +++ b/drivers/clk/at91/pmc.c
> @@ -228,7 +228,7 @@ out_free_pmc:
>  	return NULL;
>  }
>  
> -static const struct of_device_id pmc_clk_ids[] __initdata = {
> +static const struct of_device_id pmc_clk_ids[] __initconst = {
>  	/* Main clock */
>  	{
>  		.compatible = "atmel,at91rm9200-clk-main",
> 


-- 
Nicolas Ferre



More information about the linux-arm-kernel mailing list