diff options
Diffstat (limited to 'sound/soc/codecs/wm8731.c')
-rw-r--r-- | sound/soc/codecs/wm8731.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8731.c b/sound/soc/codecs/wm8731.c index 56f540838745..28275014c73d 100644 --- a/sound/soc/codecs/wm8731.c +++ b/sound/soc/codecs/wm8731.c | |||
@@ -567,7 +567,7 @@ static struct snd_soc_codec_driver soc_codec_dev_wm8731 = { | |||
567 | .suspend = wm8731_suspend, | 567 | .suspend = wm8731_suspend, |
568 | .resume = wm8731_resume, | 568 | .resume = wm8731_resume, |
569 | .set_bias_level = wm8731_set_bias_level, | 569 | .set_bias_level = wm8731_set_bias_level, |
570 | .reg_cache_size = sizeof(wm8731_reg), | 570 | .reg_cache_size = ARRAY_SIZE(wm8731_reg), |
571 | .reg_word_size = sizeof(u16), | 571 | .reg_word_size = sizeof(u16), |
572 | .reg_cache_default = wm8731_reg, | 572 | .reg_cache_default = wm8731_reg, |
573 | }; | 573 | }; |