diff options
Diffstat (limited to 'sound/soc/samsung/neo1973_wm8753.c')
-rw-r--r-- | sound/soc/samsung/neo1973_wm8753.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/samsung/neo1973_wm8753.c b/sound/soc/samsung/neo1973_wm8753.c index d23b19a59d83..321d51134e47 100644 --- a/sound/soc/samsung/neo1973_wm8753.c +++ b/sound/soc/samsung/neo1973_wm8753.c | |||
@@ -296,7 +296,7 @@ static int neo1973_gta02_wm8753_init(struct snd_soc_codec *codec) | |||
296 | if (ret) | 296 | if (ret) |
297 | return ret; | 297 | return ret; |
298 | 298 | ||
299 | ret = snd_soc_add_controls(codec, neo1973_gta02_wm8753_controls, | 299 | ret = snd_soc_add_card_controls(codec->card, neo1973_gta02_wm8753_controls, |
300 | ARRAY_SIZE(neo1973_gta02_wm8753_controls)); | 300 | ARRAY_SIZE(neo1973_gta02_wm8753_controls)); |
301 | if (ret) | 301 | if (ret) |
302 | return ret; | 302 | return ret; |
@@ -328,7 +328,7 @@ static int neo1973_wm8753_init(struct snd_soc_pcm_runtime *rtd) | |||
328 | return ret; | 328 | return ret; |
329 | 329 | ||
330 | /* add neo1973 specific controls */ | 330 | /* add neo1973 specific controls */ |
331 | ret = snd_soc_add_controls(codec, neo1973_wm8753_controls, | 331 | ret = snd_soc_add_card_controls(rtd->card, neo1973_wm8753_controls, |
332 | ARRAY_SIZE(neo1973_wm8753_controls)); | 332 | ARRAY_SIZE(neo1973_wm8753_controls)); |
333 | if (ret) | 333 | if (ret) |
334 | return ret; | 334 | return ret; |