From: Kuninori Morimoto Date: Tue, 8 Aug 2023 22:56:05 +0000 (+0000) Subject: ASoC: sof: merge DAI call back functions into ops X-Git-Tag: v6.6.7~1940^2^2~72^2~28 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f522af4cbe0158de3f518ed76b328ea6297a52b2;p=platform%2Fkernel%2Flinux-starfive.git ASoC: sof: 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 Link: https://lore.kernel.org/r/87h6p9b0u2.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/sof/sof-client-probes.c b/sound/soc/sof/sof-client-probes.c index 5530b5d..740b637 100644 --- a/sound/soc/sof/sof-client-probes.c +++ b/sound/soc/sof/sof-client-probes.c @@ -354,10 +354,14 @@ static const struct file_operations sof_probes_points_remove_fops = { .owner = THIS_MODULE, }; +static const struct snd_soc_dai_ops sof_probes_dai_ops = { + .compress_new = snd_soc_new_compress, +}; + static struct snd_soc_dai_driver sof_probes_dai_drv[] = { { .name = "Probe Extraction CPU DAI", - .compress_new = snd_soc_new_compress, + .ops = &sof_probes_dai_ops, .cops = &sof_probes_compr_ops, .capture = { .stream_name = "Probe Extraction",