diff options
Diffstat (limited to 'sound/soc/codecs/wm8741.c')
-rw-r--r-- | sound/soc/codecs/wm8741.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8741.c b/sound/soc/codecs/wm8741.c index c8e7a264bbae..90e31e9aa6f7 100644 --- a/sound/soc/codecs/wm8741.c +++ b/sound/soc/codecs/wm8741.c | |||
@@ -453,7 +453,7 @@ static int wm8741_probe(struct snd_soc_codec *codec) | |||
453 | static struct snd_soc_codec_driver soc_codec_dev_wm8741 = { | 453 | static struct snd_soc_codec_driver soc_codec_dev_wm8741 = { |
454 | .probe = wm8741_probe, | 454 | .probe = wm8741_probe, |
455 | .resume = wm8741_resume, | 455 | .resume = wm8741_resume, |
456 | .reg_cache_size = sizeof(wm8741_reg_defaults), | 456 | .reg_cache_size = ARRAY_SIZE(wm8741_reg_defaults), |
457 | .reg_word_size = sizeof(u16), | 457 | .reg_word_size = sizeof(u16), |
458 | .reg_cache_default = &wm8741_reg_defaults, | 458 | .reg_cache_default = &wm8741_reg_defaults, |
459 | }; | 459 | }; |