diff options
author | Mark Brown <broonie@kernel.org> | 2016-09-26 09:32:22 -0700 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-09-26 09:32:22 -0700 |
commit | 5c4341199b223a6973b7a18ed43d943a6a897685 (patch) | |
tree | 9646add60c90efa8338ec11855b80d43fd4bf4e3 /sound/soc/img/pistachio-internal-dac.c | |
parent | c1d5065a0bd09bac783120b73bfa768ba6a493d9 (diff) | |
parent | 8180bd56bdd1dcade8d1b2a0b6f70b2397bec372 (diff) |
Merge branch 'topic/codec-component' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-sunxi
Diffstat (limited to 'sound/soc/img/pistachio-internal-dac.c')
-rw-r--r-- | sound/soc/img/pistachio-internal-dac.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/sound/soc/img/pistachio-internal-dac.c b/sound/soc/img/pistachio-internal-dac.c index 162a0fd68c7b..53e11c6d4e22 100644 --- a/sound/soc/img/pistachio-internal-dac.c +++ b/sound/soc/img/pistachio-internal-dac.c @@ -134,12 +134,14 @@ static int pistachio_internal_dac_codec_probe(struct snd_soc_codec *codec) static const struct snd_soc_codec_driver pistachio_internal_dac_driver = { .probe = pistachio_internal_dac_codec_probe, .idle_bias_off = true, - .controls = pistachio_internal_dac_snd_controls, - .num_controls = ARRAY_SIZE(pistachio_internal_dac_snd_controls), - .dapm_widgets = pistachio_internal_dac_widgets, - .num_dapm_widgets = ARRAY_SIZE(pistachio_internal_dac_widgets), - .dapm_routes = pistachio_internal_dac_routes, - .num_dapm_routes = ARRAY_SIZE(pistachio_internal_dac_routes), + .component_driver = { + .controls = pistachio_internal_dac_snd_controls, + .num_controls = ARRAY_SIZE(pistachio_internal_dac_snd_controls), + .dapm_widgets = pistachio_internal_dac_widgets, + .num_dapm_widgets = ARRAY_SIZE(pistachio_internal_dac_widgets), + .dapm_routes = pistachio_internal_dac_routes, + .num_dapm_routes = ARRAY_SIZE(pistachio_internal_dac_routes), + }, }; static int pistachio_internal_dac_probe(struct platform_device *pdev) |