summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/cs53l30.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2016-08-02 13:48:31 +0800
committerMark Brown <broonie@kernel.org>2016-08-08 11:54:26 +0100
commit3597fced666469762c8ea64a68f2ce0716776bd8 (patch)
tree8cb77e661d241a68177ad000f0ff6779f1c72371 /sound/soc/codecs/cs53l30.c
parent29b4817d4018df78086157ea3a55c1d9424a7cfc (diff)
downloadblackbird-obmc-linux-3597fced666469762c8ea64a68f2ce0716776bd8.tar.gz
blackbird-obmc-linux-3597fced666469762c8ea64a68f2ce0716776bd8.zip
ASoC: cs53l30: Constify cs53l30_mclk_coeffs and cs53l30_mclkx_coeffs tables
Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/cs53l30.c')
-rw-r--r--sound/soc/codecs/cs53l30.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/cs53l30.c b/sound/soc/codecs/cs53l30.c
index 2c0d9c430a8c..936caf1af743 100644
--- a/sound/soc/codecs/cs53l30.c
+++ b/sound/soc/codecs/cs53l30.c
@@ -466,7 +466,7 @@ struct cs53l30_mclk_div {
u8 mclk_int_scale;
};
-static struct cs53l30_mclk_div cs53l30_mclk_coeffs[] = {
+static const struct cs53l30_mclk_div cs53l30_mclk_coeffs[] = {
/* NOTE: Enable MCLK_INT_SCALE to save power. */
/* MCLK, Sample Rate, asp_rate, internal_fs_ratio, mclk_int_scale */
@@ -511,7 +511,7 @@ struct cs53l30_mclkx_div {
u8 mclkdiv;
};
-static struct cs53l30_mclkx_div cs53l30_mclkx_coeffs[] = {
+static const struct cs53l30_mclkx_div cs53l30_mclkx_coeffs[] = {
{5644800, 1, CS53L30_MCLK_DIV_BY_1},
{6000000, 1, CS53L30_MCLK_DIV_BY_1},
{6144000, 1, CS53L30_MCLK_DIV_BY_1},
OpenPOWER on IntegriCloud