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>
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user