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>
This commit is contained in:

committed by
Stephen Boyd

parent
78e50c6def
commit
adb11a40a3
@@ -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",
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user