Skip to content

Commit 1808e9d

Browse files
Phil Elwellpopcornmix
Phil Elwell
authored andcommitted
hifiberry-amp: Adjust for ALSA object refactoring
See: #1775
1 parent e1326d2 commit 1808e9d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

sound/soc/codecs/tas5713.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,10 @@ static int tas5713_probe(struct snd_soc_codec *codec)
232232
static struct snd_soc_codec_driver soc_codec_dev_tas5713 = {
233233
.probe = tas5713_probe,
234234
.remove = tas5713_remove,
235-
.controls = tas5713_snd_controls,
236-
.num_controls = ARRAY_SIZE(tas5713_snd_controls),
235+
.component_driver = {
236+
.controls = tas5713_snd_controls,
237+
.num_controls = ARRAY_SIZE(tas5713_snd_controls),
238+
},
237239
};
238240

239241

0 commit comments

Comments
 (0)