summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@linux.intel.com>2012-03-13 07:26:44 +0100
committerVinod Koul <vinod.koul@linux.intel.com>2012-03-13 07:26:44 +0100
commit8867bd508f88eae8b9c54394f17422f49e387b26 (patch)
treecd284c19966cfe7184c3fe3ea53125e43afae5f5
parentdmaengine: ensure all DMA engine drivers initialize their cookies (diff)
downloadlinux-8867bd508f88eae8b9c54394f17422f49e387b26.tar.xz
linux-8867bd508f88eae8b9c54394f17422f49e387b26.zip
dmaengine: pl330: fix the pl330 build after cookie cleanup
drivers/dma/pl330.c: In function 'pl330_control': drivers/dma/pl330.c:342: error: 'struct dma_pl330_chan' has no member named 'completed' Reported by: Jassi Brar <jassisinghbrar@gmail.com> Suggested by: Jassi Brar <jassisinghbrar@gmail.com> Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
-rw-r--r--drivers/dma/pl330.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c
index 7d6d7b416f68..0bb332c1ccb0 100644
--- a/drivers/dma/pl330.c
+++ b/drivers/dma/pl330.c
@@ -339,7 +339,6 @@ static int pl330_control(struct dma_chan *chan, enum dma_ctrl_cmd cmd, unsigned
/* Mark all desc done */
list_for_each_entry_safe(desc, _dt, &pch->work_list , node) {
desc->status = DONE;
- pch->completed = desc->txd.cookie;
list_move_tail(&desc->node, &list);
}