diff options
Diffstat (limited to 'sound/soc/codecs/wm8580.c')
-rw-r--r-- | sound/soc/codecs/wm8580.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8580.c b/sound/soc/codecs/wm8580.c index 910c62a3f594..ad5987e6c9ca 100644 --- a/sound/soc/codecs/wm8580.c +++ b/sound/soc/codecs/wm8580.c | |||
@@ -907,7 +907,7 @@ static struct snd_soc_codec_driver soc_codec_dev_wm8580 = { | |||
907 | .probe = wm8580_probe, | 907 | .probe = wm8580_probe, |
908 | .remove = wm8580_remove, | 908 | .remove = wm8580_remove, |
909 | .set_bias_level = wm8580_set_bias_level, | 909 | .set_bias_level = wm8580_set_bias_level, |
910 | .reg_cache_size = sizeof(wm8580_reg), | 910 | .reg_cache_size = ARRAY_SIZE(wm8580_reg), |
911 | .reg_word_size = sizeof(u16), | 911 | .reg_word_size = sizeof(u16), |
912 | .reg_cache_default = &wm8580_reg, | 912 | .reg_cache_default = &wm8580_reg, |
913 | }; | 913 | }; |