diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2014-11-17 08:42:39 -0500 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-12-22 02:03:22 -0500 |
commit | 581dc2ccb1a801cb8b56a2d29e3346add7998200 (patch) | |
tree | cfebc58202a9cf05d2d0b18de4dc8dd78bba1177 /drivers/dma/mv_xor.c | |
parent | ba7140462fe0bdf50da50221e3fe143f6a2b33e7 (diff) |
dmaengine: mv_xor: Remove device_control
The Marvell XOR engine doesn't allow any operations that use to be defined in
device_control, it shouldn't need to be defined. Since it's going to be
deprecated, remove it altogether.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/mv_xor.c')
-rw-r--r-- | drivers/dma/mv_xor.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c index d7ac558c2c1c..b03e8137b918 100644 --- a/drivers/dma/mv_xor.c +++ b/drivers/dma/mv_xor.c | |||
@@ -928,14 +928,6 @@ out: | |||
928 | return err; | 928 | return err; |
929 | } | 929 | } |
930 | 930 | ||
931 | /* This driver does not implement any of the optional DMA operations. */ | ||
932 | static int | ||
933 | mv_xor_control(struct dma_chan *chan, enum dma_ctrl_cmd cmd, | ||
934 | unsigned long arg) | ||
935 | { | ||
936 | return -ENOSYS; | ||
937 | } | ||
938 | |||
939 | static int mv_xor_channel_remove(struct mv_xor_chan *mv_chan) | 931 | static int mv_xor_channel_remove(struct mv_xor_chan *mv_chan) |
940 | { | 932 | { |
941 | struct dma_chan *chan, *_chan; | 933 | struct dma_chan *chan, *_chan; |
@@ -1008,7 +1000,6 @@ mv_xor_channel_add(struct mv_xor_device *xordev, | |||
1008 | dma_dev->device_free_chan_resources = mv_xor_free_chan_resources; | 1000 | dma_dev->device_free_chan_resources = mv_xor_free_chan_resources; |
1009 | dma_dev->device_tx_status = mv_xor_status; | 1001 | dma_dev->device_tx_status = mv_xor_status; |
1010 | dma_dev->device_issue_pending = mv_xor_issue_pending; | 1002 | dma_dev->device_issue_pending = mv_xor_issue_pending; |
1011 | dma_dev->device_control = mv_xor_control; | ||
1012 | dma_dev->dev = &pdev->dev; | 1003 | dma_dev->dev = &pdev->dev; |
1013 | 1004 | ||
1014 | /* set prep routines based on capability */ | 1005 | /* set prep routines based on capability */ |