From: Vinod Koul Date: Tue, 13 Mar 2012 06:26:44 +0000 (+0530) Subject: dmaengine: pl330: fix the pl330 build after cookie cleanup X-Git-Tag: MMI-PSA29.97-13-9~17121^2~20^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8867bd508f88eae8b9c54394f17422f49e387b26;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Suggested by: Jassi Brar Signed-off-by: Vinod Koul --- 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); }