From: Krzysztof Kozlowski Date: Wed, 11 May 2016 12:02:14 +0000 (+0200) Subject: clk: samsung: Fully constify mux parent names X-Git-Tag: v4.8-rc1~93^2~53^2~15 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=4dbf01b8df00864787b6c7e3d3e0890d385b0ff5;p=linux.git clk: samsung: Fully constify mux parent names The PNAME macro defines array of strings for names of mux parents. Although the strings itself were const but pointers to them were not thus this data resided in initdata. Make this an array of const pointers to const strings and move to initconst section. Signed-off-by: Krzysztof Kozlowski Signed-off-by: Sylwester Nawrocki --- diff --git a/drivers/clk/samsung/clk.h b/drivers/clk/samsung/clk.h index 61db98dd01a2..77d4657a95c5 100644 --- a/drivers/clk/samsung/clk.h +++ b/drivers/clk/samsung/clk.h @@ -261,7 +261,7 @@ struct samsung_gate_clock { #define GATE_DA(_id, dname, cname, pname, o, b, f, gf, a) \ __GATE(_id, dname, cname, pname, o, b, f, gf, a) -#define PNAME(x) static const char *x[] __initdata +#define PNAME(x) static const char * const x[] __initconst /** * struct samsung_clk_reg_dump: register dump of clock controller registers.