Skip to content
Unverified Commit d3de1eb4 authored by Michael Ellerman's avatar Michael Ellerman Committed by Mark Brown
Browse files

ASoC: fsl: fsl_dma: fix build failure



Commit 4ac85de9 ("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: 4ac85de9 ("ASoC: fsl: fsl_dma: remove snd_pcm_ops")
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191025051353.2878-1-mpe@ellerman.id.au


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 4c02a7bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment