summaryrefslogtreecommitdiff
path: root/drivers/clk/samsung
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2016-05-11 15:02:14 +0300
committerSylwester Nawrocki <s.nawrocki@samsung.com>2016-06-02 12:18:13 +0300
commit4dbf01b8df00864787b6c7e3d3e0890d385b0ff5 (patch)
tree2ff46c3615b70891762eb1c012a74e13afc00094 /drivers/clk/samsung
parent1d3f15a89e04356aa37cef8f5763cd4e2c6d11af (diff)
downloadlinux-4dbf01b8df00864787b6c7e3d3e0890d385b0ff5.tar.xz
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 <k.kozlowski@samsung.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Diffstat (limited to 'drivers/clk/samsung')
-rw-r--r--drivers/clk/samsung/clk.h2
1 files changed, 1 insertions, 1 deletions
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.