summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2019-10-25 16:13:53 +1100
committerMark Brown <broonie@kernel.org>2019-10-28 13:12:30 +0000
commitd3de1eb461e5bac0b07f5c785e6e0d959915df96 (patch)
tree6f6f7309e51845b13aea08e1528df4d25a8e8321 /sound
parent4c02a7bd43e22f4de53ad55b94d24e4388f712f0 (diff)
downloadlinux-d3de1eb461e5bac0b07f5c785e6e0d959915df96.tar.gz
linux-d3de1eb461e5bac0b07f5c785e6e0d959915df96.tar.bz2
linux-d3de1eb461e5bac0b07f5c785e6e0d959915df96.zip
ASoC: fsl: fsl_dma: fix build failure
Commit 4ac85de9977e ("ASoC: fsl: fsl_dma: remove snd_pcm_ops") removed fsl_dma_ops but left a usage, leading to a build error for some configs, eg. mpc85xx_defconfig: sound/soc/fsl/fsl_dma.c: In function ‘fsl_soc_dma_probe’: sound/soc/fsl/fsl_dma.c:905:18: error: ‘fsl_dma_ops’ undeclared (first use in this function) dma->dai.ops = &fsl_dma_ops; ^~~~~~~~~~~ Remove the usage to fix the build. Fixes: 4ac85de9977e ("ASoC: fsl: fsl_dma: remove snd_pcm_ops") Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20191025051353.2878-1-mpe@ellerman.id.au Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/fsl/fsl_dma.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_dma.c b/sound/soc/fsl/fsl_dma.c
index a092726510d4..2868c4f97cb2 100644
--- a/sound/soc/fsl/fsl_dma.c
+++ b/sound/soc/fsl/fsl_dma.c
@@ -901,7 +901,6 @@ static int fsl_soc_dma_probe(struct platform_device *pdev)
}
dma->dai.name = DRV_NAME;
- dma->dai.ops = &fsl_dma_ops;
dma->dai.open = fsl_dma_open;
dma->dai.close = fsl_dma_close;
dma->dai.ioctl = snd_soc_pcm_lib_ioctl;