diff options
Diffstat (limited to 'sound/soc/codecs/spdif_receiver.c')
-rw-r--r-- | sound/soc/codecs/spdif_receiver.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sound/soc/codecs/spdif_receiver.c b/sound/soc/codecs/spdif_receiver.c index 3ec41ccbf4e2..234f87b54838 100644 --- a/sound/soc/codecs/spdif_receiver.c +++ b/sound/soc/codecs/spdif_receiver.c | |||
@@ -38,10 +38,12 @@ static const struct snd_soc_dapm_route dir_routes[] = { | |||
38 | SNDRV_PCM_FMTBIT_IEC958_SUBFRAME_LE) | 38 | SNDRV_PCM_FMTBIT_IEC958_SUBFRAME_LE) |
39 | 39 | ||
40 | static struct snd_soc_codec_driver soc_codec_spdif_dir = { | 40 | static struct snd_soc_codec_driver soc_codec_spdif_dir = { |
41 | .dapm_widgets = dir_widgets, | 41 | .component_driver = { |
42 | .num_dapm_widgets = ARRAY_SIZE(dir_widgets), | 42 | .dapm_widgets = dir_widgets, |
43 | .dapm_routes = dir_routes, | 43 | .num_dapm_widgets = ARRAY_SIZE(dir_widgets), |
44 | .num_dapm_routes = ARRAY_SIZE(dir_routes), | 44 | .dapm_routes = dir_routes, |
45 | .num_dapm_routes = ARRAY_SIZE(dir_routes), | ||
46 | }, | ||
45 | }; | 47 | }; |
46 | 48 | ||
47 | static struct snd_soc_dai_driver dir_stub_dai = { | 49 | static struct snd_soc_dai_driver dir_stub_dai = { |