summaryrefslogtreecommitdiffstats
path: root/drivers/dma/dma-jz4740.c
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2015-03-16 13:58:51 +0530
committerVinod Koul <vinod.koul@intel.com>2015-03-18 22:44:43 +0530
commit3d32b2506d0c63aef42de01b268ed4d6e83bfd2f (patch)
tree29aedca2cef103104c36ba43b4631a617e22990f /drivers/dma/dma-jz4740.c
parent16cab61800cebca941c47c1c9d76fe9f66e1a486 (diff)
downloadlinux-stable-3d32b2506d0c63aef42de01b268ed4d6e83bfd2f.tar.gz
linux-stable-3d32b2506d0c63aef42de01b268ed4d6e83bfd2f.tar.bz2
linux-stable-3d32b2506d0c63aef42de01b268ed4d6e83bfd2f.zip
dmaengine: jz4740: remove device_alloc_chan_resources handler
Now that device_alloc_chan_resources handler in not mandatory, remove dummy implementations Acked-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/dma-jz4740.c')
-rw-r--r--drivers/dma/dma-jz4740.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/dma/dma-jz4740.c b/drivers/dma/dma-jz4740.c
index f6a4c4270dcd..93deff06a541 100644
--- a/drivers/dma/dma-jz4740.c
+++ b/drivers/dma/dma-jz4740.c
@@ -496,11 +496,6 @@ static enum dma_status jz4740_dma_tx_status(struct dma_chan *c,
return status;
}
-static int jz4740_dma_alloc_chan_resources(struct dma_chan *c)
-{
- return 0;
-}
-
static void jz4740_dma_free_chan_resources(struct dma_chan *c)
{
vchan_free_chan_resources(to_virt_chan(c));
@@ -540,7 +535,6 @@ static int jz4740_dma_probe(struct platform_device *pdev)
dma_cap_set(DMA_SLAVE, dd->cap_mask);
dma_cap_set(DMA_CYCLIC, dd->cap_mask);
- dd->device_alloc_chan_resources = jz4740_dma_alloc_chan_resources;
dd->device_free_chan_resources = jz4740_dma_free_chan_resources;
dd->device_tx_status = jz4740_dma_tx_status;
dd->device_issue_pending = jz4740_dma_issue_pending;