diff options
author | Axel Lin <axel.lin@ingics.com> | 2015-07-05 17:48:29 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-07-07 14:39:02 +0100 |
commit | c418a84a8c8f98b1a0f30cd68d0cdf40d77aed01 (patch) | |
tree | 8dd9daeb5a89fc544bef35b9c8643f80ff0910d3 /sound/soc/codecs/tfa9879.c | |
parent | d770e558e21961ad6cfdf0ff7df0eb5d7d4f0754 (diff) | |
download | linux-c418a84a8c8f98b1a0f30cd68d0cdf40d77aed01.tar.bz2 |
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 */ |