summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/tfa9879.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2015-07-16 22:35:01 +0200
committerMark Brown <broonie@kernel.org>2015-07-16 22:35:01 +0200
commit7d9fb377a747025232fe4e8d17e54ff8032aba27 (patch)
tree275856c60130b84301673f3c9a302296227bee55 /sound/soc/codecs/tfa9879.c
parentASoC: drivers: Drop owner assignment from i2c_driver (diff)
parentASoC: Constify reg_default tables (diff)
downloadlinux-7d9fb377a747025232fe4e8d17e54ff8032aba27.tar.xz
linux-7d9fb377a747025232fe4e8d17e54ff8032aba27.zip
Merge branches 'topic/owner' and 'topic/reg-default' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-max9877
Diffstat (limited to 'sound/soc/codecs/tfa9879.c')
-rw-r--r--sound/soc/codecs/tfa9879.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/tfa9879.c b/sound/soc/codecs/tfa9879.c
index 86d05f01e5f9..cb5310d89c0f 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 */