summaryrefslogtreecommitdiff
path: root/drivers/dma
diff options
context:
space:
mode:
authorGao Pan <b54642@freescale.com>2015-10-14 17:24:36 +0800
committerNitin Garg <nitin.garg@nxp.com>2016-01-14 11:01:54 -0600
commit06a01760df40fbffe37e6a053a40308240224cb2 (patch)
tree240cb8940e7c6ca5ccc3d1eed569d73ea8255a81 /drivers/dma
parent59028edd1994c468cfe49a3a5812738fc2578fce (diff)
MLK-11709 dma: imx-sdma: fix build error
Commit:872ee3f9d4c1 introduce build error. The patch just fix the build error. Signed-off-by: Gao Pan <b54642@freescale.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/imx-sdma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c
index 3d388f5c9c27..aed5b79f16c9 100644
--- a/drivers/dma/imx-sdma.c
+++ b/drivers/dma/imx-sdma.c
@@ -1271,6 +1271,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))