aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/tfa9879.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/tfa9879.c')
-rw-r--r--sound/soc/codecs/tfa9879.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/codecs/tfa9879.c b/sound/soc/codecs/tfa9879.c
index aab0af681e8c..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)
160 return 0; 160 return 0;
161} 161}
162 162
163static struct reg_default tfa9879_regs[] = { 163static const struct reg_default tfa9879_regs[] = {
164 { TFA9879_DEVICE_CONTROL, 0x0000 }, /* 0x00 */ 164 { TFA9879_DEVICE_CONTROL, 0x0000 }, /* 0x00 */
165 { TFA9879_SERIAL_INTERFACE_1, 0x0a18 }, /* 0x01 */ 165 { TFA9879_SERIAL_INTERFACE_1, 0x0a18 }, /* 0x01 */
166 { TFA9879_PCM_IOM2_FORMAT_1, 0x0007 }, /* 0x02 */ 166 { TFA9879_PCM_IOM2_FORMAT_1, 0x0007 }, /* 0x02 */
@@ -314,7 +314,6 @@ MODULE_DEVICE_TABLE(i2c, tfa9879_i2c_id);
314static struct i2c_driver tfa9879_i2c_driver = { 314static struct i2c_driver tfa9879_i2c_driver = {
315 .driver = { 315 .driver = {
316 .name = "tfa9879", 316 .name = "tfa9879",
317 .owner = THIS_MODULE,
318 }, 317 },
319 .probe = tfa9879_i2c_probe, 318 .probe = tfa9879_i2c_probe,
320 .remove = tfa9879_i2c_remove, 319 .remove = tfa9879_i2c_remove,