]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: fsl: fsl_dma: fix build failure
authorMichael Ellerman <mpe@ellerman.id.au>
Fri, 25 Oct 2019 05:13:53 +0000 (16:13 +1100)
committerMark Brown <broonie@kernel.org>
Mon, 28 Oct 2019 13:12:30 +0000 (13:12 +0000)
commitfeafdb90db6f6d2c9826951f78f2e15ee61348fc
tree6f6f7309e51845b13aea08e1528df4d25a8e8321
parent38570f6429d0d3cab73b56680dbe0454a60668e1
ASoC: fsl: fsl_dma: fix build failure

Commit 9c68ab1ac1cd ("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: 9c68ab1ac1cd ("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>
sound/soc/fsl/fsl_dma.c