diff options
author | Vinod Koul <vinod.koul@intel.com> | 2015-03-16 13:59:25 +0530 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-03-18 22:44:58 +0530 |
commit | f265958a6b6da2af3ff57d44cd661138b04ce78d (patch) | |
tree | 8f5197a00df8b99073e49f6c175c4ea33aff90db /drivers | |
parent | 3d32b2506d0c63aef42de01b268ed4d6e83bfd2f (diff) | |
download | op-kernel-dev-f265958a6b6da2af3ff57d44cd661138b04ce78d.zip op-kernel-dev-f265958a6b6da2af3ff57d44cd661138b04ce78d.tar.gz |
dmaengine: img-mdc: remove device_alloc_chan_resources handler
Now that device_alloc_chan_resources handler in not mandatory, remove dummy
implementations
Acked-by: Andrew Bresticker <abrestic@chromium.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/dma/img-mdc-dma.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/dma/img-mdc-dma.c b/drivers/dma/img-mdc-dma.c index ed045a9..9ca5683 100644 --- a/drivers/dma/img-mdc-dma.c +++ b/drivers/dma/img-mdc-dma.c @@ -689,11 +689,6 @@ static int mdc_slave_config(struct dma_chan *chan, return 0; } -static int mdc_alloc_chan_resources(struct dma_chan *chan) -{ - return 0; -} - static void mdc_free_chan_resources(struct dma_chan *chan) { struct mdc_chan *mchan = to_mdc_chan(chan); @@ -910,7 +905,6 @@ static int mdc_dma_probe(struct platform_device *pdev) mdma->dma_dev.device_prep_slave_sg = mdc_prep_slave_sg; mdma->dma_dev.device_prep_dma_cyclic = mdc_prep_dma_cyclic; mdma->dma_dev.device_prep_dma_memcpy = mdc_prep_dma_memcpy; - mdma->dma_dev.device_alloc_chan_resources = mdc_alloc_chan_resources; mdma->dma_dev.device_free_chan_resources = mdc_free_chan_resources; mdma->dma_dev.device_tx_status = mdc_tx_status; mdma->dma_dev.device_issue_pending = mdc_issue_pending; |