lkml.org 
[lkml]   [2014]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] clk: hi3620: Move const initdata into correct code section
From
On 10 November 2014 20:58, Bintian Wang <bintian.wang@huawei.com> wrote:
> Use __initconst instead of __initdata for constant init data.
>
> Signed-off-by: Bintian Wang <bintian.wang@huawei.com>
> ---
> drivers/clk/hisilicon/clk-hi3620.c | 70 +++++++++++++++++++-------------------
> 1 file changed, 35 insertions(+), 35 deletions(-)
>
> diff --git a/drivers/clk/hisilicon/clk-hi3620.c b/drivers/clk/hisilicon/clk-hi3620.c
> index 339945d..640ea33 100644
> --- a/drivers/clk/hisilicon/clk-hi3620.c
> +++ b/drivers/clk/hisilicon/clk-hi3620.c
> @@ -38,44 +38,44 @@
> #include "clk.h"
>
> /* clock parent list */
> -static const char *timer0_mux_p[] __initdata = { "osc32k", "timerclk01", };

Acked-by: Haojian Zhuang <haojian.zhuang@linaro.org>


\
 
 \ /
  Last update: 2014-11-11 15:21    [W:0.051 / U:0.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site