From e641b662ba82197b2254a7049f675c341d68c6e6 Mon Sep 17 00:00:00 2001 From: Andrew Lunn Date: Sun, 18 Nov 2012 11:44:56 +0100 Subject: [PATCH] --- yaml --- r: 344287 b: refs/heads/master c: 34c93c8657935d30649e777c4aa05f74f16aa418 h: refs/heads/master i: 344285: 9251538538936d52afaca61f859ebd417f76dc66 344283: fe7bd1d2a83268ffec1919c26cf36e1b01f2d125 344279: 05df43852ccc2dcd6a4098f44f0f1b089c0e581e 344271: 02ae404f5443d475dd2cac0e44f0a3684f0dce26 344255: 67f3fc53705d2c3ea3f314174429b85dfe46304d v: v3 --- [refs] | 2 +- trunk/drivers/dma/mv_xor.c | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 9f6d5095e134..4ab5566a991a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: cd09fea446f485f1514ad444cb06a35e1dd63326 +refs/heads/master: 34c93c8657935d30649e777c4aa05f74f16aa418 diff --git a/trunk/drivers/dma/mv_xor.c b/trunk/drivers/dma/mv_xor.c index 97c8611f5ffb..f450fe8cbd61 100644 --- a/trunk/drivers/dma/mv_xor.c +++ b/trunk/drivers/dma/mv_xor.c @@ -1070,6 +1070,14 @@ mv_xor_xor_self_test(struct mv_xor_chan *mv_chan) return err; } +/* This driver does not implement any of the optional DMA operations. */ +static int +mv_xor_control(struct dma_chan *chan, enum dma_ctrl_cmd cmd, + unsigned long arg) +{ + return -ENOSYS; +} + static int mv_xor_channel_remove(struct mv_xor_chan *mv_chan) { struct dma_chan *chan, *_chan; @@ -1130,6 +1138,7 @@ mv_xor_channel_add(struct mv_xor_device *xordev, dma_dev->device_free_chan_resources = mv_xor_free_chan_resources; dma_dev->device_tx_status = mv_xor_status; dma_dev->device_issue_pending = mv_xor_issue_pending; + dma_dev->device_control = mv_xor_control; dma_dev->dev = &pdev->dev; /* set prep routines based on capability */