diff options
Diffstat (limited to 'sound/soc/codecs/max98088.c')
-rw-r--r-- | sound/soc/codecs/max98088.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/max98088.c b/sound/soc/codecs/max98088.c index 006efcfe6dda..af7324b79dd0 100644 --- a/sound/soc/codecs/max98088.c +++ b/sound/soc/codecs/max98088.c | |||
@@ -1908,7 +1908,7 @@ static void max98088_handle_eq_pdata(struct snd_soc_codec *codec) | |||
1908 | max98088->eq_enum.texts = max98088->eq_texts; | 1908 | max98088->eq_enum.texts = max98088->eq_texts; |
1909 | max98088->eq_enum.max = max98088->eq_textcnt; | 1909 | max98088->eq_enum.max = max98088->eq_textcnt; |
1910 | 1910 | ||
1911 | ret = snd_soc_add_controls(codec, controls, ARRAY_SIZE(controls)); | 1911 | ret = snd_soc_add_codec_controls(codec, controls, ARRAY_SIZE(controls)); |
1912 | if (ret != 0) | 1912 | if (ret != 0) |
1913 | dev_err(codec->dev, "Failed to add EQ control: %d\n", ret); | 1913 | dev_err(codec->dev, "Failed to add EQ control: %d\n", ret); |
1914 | } | 1914 | } |
@@ -2030,7 +2030,7 @@ static int max98088_probe(struct snd_soc_codec *codec) | |||
2030 | 2030 | ||
2031 | max98088_handle_pdata(codec); | 2031 | max98088_handle_pdata(codec); |
2032 | 2032 | ||
2033 | snd_soc_add_controls(codec, max98088_snd_controls, | 2033 | snd_soc_add_codec_controls(codec, max98088_snd_controls, |
2034 | ARRAY_SIZE(max98088_snd_controls)); | 2034 | ARRAY_SIZE(max98088_snd_controls)); |
2035 | 2035 | ||
2036 | err_access: | 2036 | err_access: |