diff mbox

[v6] dmaengine: Driver support for FSL RaidEngine device.

Message ID 20150402104335.GD6631@intel.com (mailing list archive)
State Accepted
Headers show

Commit Message

Vinod Koul April 2, 2015, 10:43 a.m. UTC
On Tue, Mar 03, 2015 at 02:26:22PM +0800, xuelin.shi@freescale.com wrote:
> From: Xuelin Shi <xuelin.shi@freescale.com>
> 
> The RaidEngine is a new FSL hardware used for Raid5/6 acceration.
> This patch enables the RaidEngine functionality and provides
> hardware offloading capability for memcpy, xor and pq computation.
> It works with async_tx.
Applied, with below patch added on top

        struct device *dev, *chandev;
diff mbox

Patch

diff --git a/drivers/dma/fsl_raid.c b/drivers/dma/fsl_raid.c
index 12778bd6446b..4d9470f16552 100644
--- a/drivers/dma/fsl_raid.c
+++ b/drivers/dma/fsl_raid.c
@@ -629,7 +629,7 @@  static void fsl_re_free_chan_resources(struct dma_chan
*chan)
                dev_err(re_chan->dev, "chan resource cannot be cleaned!\n");
 }

-int fsl_re_chan_probe(struct platform_device *ofdev,
+static int fsl_re_chan_probe(struct platform_device *ofdev,
                      struct device_node *np, u8 q, u32 off)
 {