Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Kuninori Morimoto and committed by
Mark Brown
9f625f5e 450e7222

+5 -1
+5 -1
sound/soc/sti/sti_uniperif.c
··· 369 369 return sti_uniperiph_dai_create_ctrl(dai); 370 370 } 371 371 372 - static const struct snd_soc_dai_driver sti_uniperiph_dai_template = { 372 + static const struct snd_soc_dai_ops sti_uniperiph_dai_ops = { 373 373 .probe = sti_uniperiph_dai_probe, 374 + }; 375 + 376 + static const struct snd_soc_dai_driver sti_uniperiph_dai_template = { 377 + .ops = &sti_uniperiph_dai_ops, 374 378 }; 375 379 376 380 static const struct snd_soc_component_driver sti_uniperiph_dai_component = {