MLK-11709 dma: imx-sdma: fix build error
authorGao Pan <b54642@freescale.com>
Wed, 14 Oct 2015 09:24:36 +0000 (17:24 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:21:37 +0000 (15:21 -0500)
Commit:872ee3f9d4c1 introduce build error.
The patch just fix the build error.

Signed-off-by: Gao Pan <b54642@freescale.com>
(cherry picked from commit 06a01760df40fbffe37e6a053a40308240224cb2)

drivers/dma/imx-sdma.c

index 1ebe622..d1e9ece 100644 (file)
@@ -1297,6 +1297,7 @@ static int sdma_channel_pause(struct dma_chan *chan)
 static int sdma_channel_resume(struct dma_chan *chan)
 {
        struct sdma_channel *sdmac = to_sdma_chan(chan);
+       struct sdma_engine *sdma = sdmac->sdma;
        unsigned long flags;
 
        if (!(sdmac->flags & IMX_DMA_SG_LOOP))