diff options
author | Axel Lin <axel.lin@ingics.com> | 2015-07-05 11:48:29 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-07-07 15:39:02 +0200 |
commit | c418a84a8c8f98b1a0f30cd68d0cdf40d77aed01 (patch) | |
tree | 8dd9daeb5a89fc544bef35b9c8643f80ff0910d3 /sound/soc/codecs/tfa9879.c | |
parent | Linux 4.2-rc1 (diff) | |
download | linux-c418a84a8c8f98b1a0f30cd68d0cdf40d77aed01.tar.xz linux-c418a84a8c8f98b1a0f30cd68d0cdf40d77aed01.zip |
ASoC: Constify reg_default tables
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Peter Rosin <peda@axentia.se>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/tfa9879.c')
-rw-r--r-- | sound/soc/codecs/tfa9879.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/tfa9879.c b/sound/soc/codecs/tfa9879.c index aab0af681e8c..bf7596ba49f3 100644 --- a/sound/soc/codecs/tfa9879.c +++ b/sound/soc/codecs/tfa9879.c @@ -160,7 +160,7 @@ static int tfa9879_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) return 0; } -static struct reg_default tfa9879_regs[] = { +static const struct reg_default tfa9879_regs[] = { { TFA9879_DEVICE_CONTROL, 0x0000 }, /* 0x00 */ { TFA9879_SERIAL_INTERFACE_1, 0x0a18 }, /* 0x01 */ { TFA9879_PCM_IOM2_FORMAT_1, 0x0007 }, /* 0x02 */ |