summaryrefslogtreecommitdiffstats
path: root/drivers/dma/fsldma.c
diff options
context:
space:
mode:
authorLinus Walleij2010-05-18 01:30:42 +0200
committerDan Williams2010-05-18 01:30:42 +0200
commit058276303dbc4ed089c1f7dad0871810b1f5ddf1 (patch)
treedf26ff701721b2a91d61bd29e48bad7cbcedd746 /drivers/dma/fsldma.c
parentDMAENGINE: DMA40 fix for allocation of logical channel 0 (diff)
downloadkernel-qcow2-linux-058276303dbc4ed089c1f7dad0871810b1f5ddf1.tar.gz
kernel-qcow2-linux-058276303dbc4ed089c1f7dad0871810b1f5ddf1.tar.xz
kernel-qcow2-linux-058276303dbc4ed089c1f7dad0871810b1f5ddf1.zip
DMAENGINE: extend the control command to include an arg
This adds an argument to the DMAengine control function, so that we can later provide control commands that need some external data passed in through an argument akin to the ioctl() operation prototype. [dan.j.williams@intel.com: fix up some missed conversions] Signed-off-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma/fsldma.c')
-rw-r--r--drivers/dma/fsldma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/fsldma.c b/drivers/dma/fsldma.c
index cb1924f46c9e..005329d496bd 100644
--- a/drivers/dma/fsldma.c
+++ b/drivers/dma/fsldma.c
@@ -775,7 +775,7 @@ fail:
}
static int fsl_dma_device_control(struct dma_chan *dchan,
- enum dma_ctrl_cmd cmd)
+ enum dma_ctrl_cmd cmd, unsigned long arg)
{
struct fsldma_chan *chan;
unsigned long flags;