diff options
-rw-r--r-- | sound/soc/codecs/tlv320dac33.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/sound/soc/codecs/tlv320dac33.c b/sound/soc/codecs/tlv320dac33.c index f7a6ce7e5fb1..d64eac74d1cc 100644 --- a/sound/soc/codecs/tlv320dac33.c +++ b/sound/soc/codecs/tlv320dac33.c | |||
@@ -1453,12 +1453,14 @@ static struct snd_soc_codec_driver soc_codec_dev_tlv320dac33 = { | |||
1453 | .probe = dac33_soc_probe, | 1453 | .probe = dac33_soc_probe, |
1454 | .remove = dac33_soc_remove, | 1454 | .remove = dac33_soc_remove, |
1455 | 1455 | ||
1456 | .controls = dac33_snd_controls, | 1456 | .component_driver = { |
1457 | .num_controls = ARRAY_SIZE(dac33_snd_controls), | 1457 | .controls = dac33_snd_controls, |
1458 | .dapm_widgets = dac33_dapm_widgets, | 1458 | .num_controls = ARRAY_SIZE(dac33_snd_controls), |
1459 | .num_dapm_widgets = ARRAY_SIZE(dac33_dapm_widgets), | 1459 | .dapm_widgets = dac33_dapm_widgets, |
1460 | .dapm_routes = audio_map, | 1460 | .num_dapm_widgets = ARRAY_SIZE(dac33_dapm_widgets), |
1461 | .num_dapm_routes = ARRAY_SIZE(audio_map), | 1461 | .dapm_routes = audio_map, |
1462 | .num_dapm_routes = ARRAY_SIZE(audio_map), | ||
1463 | }, | ||
1462 | }; | 1464 | }; |
1463 | 1465 | ||
1464 | #define DAC33_RATES (SNDRV_PCM_RATE_44100 | \ | 1466 | #define DAC33_RATES (SNDRV_PCM_RATE_44100 | \ |