summaryrefslogtreecommitdiff
path: root/drivers/clk/qcom/lcc-ipq806x.c
diff options
context:
space:
mode:
authorGeorgi Djakov <georgi.djakov@linaro.org>2015-07-06 16:51:30 +0300
committerStephen Boyd <sboyd@codeaurora.org>2015-07-07 03:20:59 +0300
commitadb11a40a3ac5225ce3746a62c2a7ebde42ec04e (patch)
tree750853f6d61489e21a1c198b407232a7bbd62fd9 /drivers/clk/qcom/lcc-ipq806x.c
parent78e50c6def9cca448dbb028b57ec92a1589edc07 (diff)
downloadlinux-adb11a40a3ac5225ce3746a62c2a7ebde42ec04e.tar.xz
clk: qcom: Constify the parent names arrays
Make const both the array and the strings, so they can be moved to .rodata section. Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/qcom/lcc-ipq806x.c')
-rw-r--r--drivers/clk/qcom/lcc-ipq806x.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/clk/qcom/lcc-ipq806x.c b/drivers/clk/qcom/lcc-ipq806x.c
index 47f0ac16d149..93ad42b14366 100644
--- a/drivers/clk/qcom/lcc-ipq806x.c
+++ b/drivers/clk/qcom/lcc-ipq806x.c
@@ -71,7 +71,7 @@ static const struct parent_map lcc_pxo_pll4_map[] = {
{ P_PLL4, 2 }
};
-static const char *lcc_pxo_pll4[] = {
+static const char * const lcc_pxo_pll4[] = {
"pxo",
"pll4_vote",
};
@@ -146,7 +146,7 @@ static struct clk_rcg mi2s_osr_src = {
},
};
-static const char *lcc_mi2s_parents[] = {
+static const char * const lcc_mi2s_parents[] = {
"mi2s_osr_src",
};
@@ -340,7 +340,7 @@ static struct clk_rcg spdif_src = {
},
};
-static const char *lcc_spdif_parents[] = {
+static const char * const lcc_spdif_parents[] = {
"spdif_src",
};