aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/ab8500-codec.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/ab8500-codec.c')
-rw-r--r--sound/soc/codecs/ab8500-codec.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/sound/soc/codecs/ab8500-codec.c b/sound/soc/codecs/ab8500-codec.c
index 2fc89155f14a..3056487ed5a9 100644
--- a/sound/soc/codecs/ab8500-codec.c
+++ b/sound/soc/codecs/ab8500-codec.c
@@ -2525,12 +2525,14 @@ static int ab8500_codec_probe(struct snd_soc_codec *codec)
2525 2525
2526static struct snd_soc_codec_driver ab8500_codec_driver = { 2526static struct snd_soc_codec_driver ab8500_codec_driver = {
2527 .probe = ab8500_codec_probe, 2527 .probe = ab8500_codec_probe,
2528 .controls = ab8500_ctrls, 2528 .component_driver = {
2529 .num_controls = ARRAY_SIZE(ab8500_ctrls), 2529 .controls = ab8500_ctrls,
2530 .dapm_widgets = ab8500_dapm_widgets, 2530 .num_controls = ARRAY_SIZE(ab8500_ctrls),
2531 .num_dapm_widgets = ARRAY_SIZE(ab8500_dapm_widgets), 2531 .dapm_widgets = ab8500_dapm_widgets,
2532 .dapm_routes = ab8500_dapm_routes, 2532 .num_dapm_widgets = ARRAY_SIZE(ab8500_dapm_widgets),
2533 .num_dapm_routes = ARRAY_SIZE(ab8500_dapm_routes), 2533 .dapm_routes = ab8500_dapm_routes,
2534 .num_dapm_routes = ARRAY_SIZE(ab8500_dapm_routes),
2535 },
2534}; 2536};
2535 2537
2536static int ab8500_codec_driver_probe(struct platform_device *pdev) 2538static int ab8500_codec_driver_probe(struct platform_device *pdev)