diff options
Diffstat (limited to 'sound/soc/codecs/tpa6130a2.c')
-rw-r--r-- | sound/soc/codecs/tpa6130a2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/tpa6130a2.c b/sound/soc/codecs/tpa6130a2.c index 363b99dad8e9..6fe4aa3ac544 100644 --- a/sound/soc/codecs/tpa6130a2.c +++ b/sound/soc/codecs/tpa6130a2.c | |||
@@ -351,10 +351,10 @@ int tpa6130a2_add_controls(struct snd_soc_codec *codec) | |||
351 | data = i2c_get_clientdata(tpa6130a2_client); | 351 | data = i2c_get_clientdata(tpa6130a2_client); |
352 | 352 | ||
353 | if (data->id == TPA6140A2) | 353 | if (data->id == TPA6140A2) |
354 | return snd_soc_add_controls(codec, tpa6140a2_controls, | 354 | return snd_soc_add_codec_controls(codec, tpa6140a2_controls, |
355 | ARRAY_SIZE(tpa6140a2_controls)); | 355 | ARRAY_SIZE(tpa6140a2_controls)); |
356 | else | 356 | else |
357 | return snd_soc_add_controls(codec, tpa6130a2_controls, | 357 | return snd_soc_add_codec_controls(codec, tpa6130a2_controls, |
358 | ARRAY_SIZE(tpa6130a2_controls)); | 358 | ARRAY_SIZE(tpa6130a2_controls)); |
359 | } | 359 | } |
360 | EXPORT_SYMBOL_GPL(tpa6130a2_add_controls); | 360 | EXPORT_SYMBOL_GPL(tpa6130a2_add_controls); |