diff options
author | Russell King - ARM Linux <[email protected]> | 2013-11-26 16:03:03 -0800 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2013-12-04 11:22:05 +0530 |
commit | 89116bf962a358a6ad964a01a658d0392019a2de (patch) | |
tree | f074bd9df7edb4ecc5eb94eaeed8b195fee4bd9c | |
parent | 5affdeea8fd07f89709d39585ec47fb29f73247c (diff) |
Fix pl08x warnings
drivers/dma/amba-pl08x.c: In function 'pl08x_desc_free':
drivers/dma/amba-pl08x.c:1173:2: warning: passing argument 1 of 'dma_descriptor_unmap' from incompatible pointer type
include/linux/dmaengine.h:476:91: note: expected 'struct dma_async_tx_descriptor *' but argument is of type 'struct pl08x_txd *'
Fixes: d38a8c622a1b ("dmaengine: prepare for generic 'unmap' data")
Signed-off-by: Russell King <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
-rw-r--r-- | drivers/dma/amba-pl08x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/amba-pl08x.c b/drivers/dma/amba-pl08x.c index 16a2aa28f856..ec4ee5c1fe9d 100644 --- a/drivers/dma/amba-pl08x.c +++ b/drivers/dma/amba-pl08x.c @@ -1169,7 +1169,7 @@ static void pl08x_desc_free(struct virt_dma_desc *vd) struct pl08x_txd *txd = to_pl08x_txd(&vd->tx); struct pl08x_dma_chan *plchan = to_pl08x_chan(vd->tx.chan); - dma_descriptor_unmap(txd); + dma_descriptor_unmap(&vd->tx); if (!txd->done) pl08x_release_mux(plchan); |