mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
ASoC: sti: merge DAI call back functions into ops
ALSA SoC merges DAI call backs into .ops. This patch merge these into one. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://lore.kernel.org/r/87fs4tb0tw.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
450e722223
commit
9f625f5e6c
1 changed files with 5 additions and 1 deletions
|
@ -369,10 +369,14 @@ static int sti_uniperiph_dai_probe(struct snd_soc_dai *dai)
|
|||
return sti_uniperiph_dai_create_ctrl(dai);
|
||||
}
|
||||
|
||||
static const struct snd_soc_dai_driver sti_uniperiph_dai_template = {
|
||||
static const struct snd_soc_dai_ops sti_uniperiph_dai_ops = {
|
||||
.probe = sti_uniperiph_dai_probe,
|
||||
};
|
||||
|
||||
static const struct snd_soc_dai_driver sti_uniperiph_dai_template = {
|
||||
.ops = &sti_uniperiph_dai_ops,
|
||||
};
|
||||
|
||||
static const struct snd_soc_component_driver sti_uniperiph_dai_component = {
|
||||
.name = "sti_cpu_dai",
|
||||
.suspend = sti_uniperiph_suspend,
|
||||
|
|
Loading…
Add table
Reference in a new issue