aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/misc/carma/carma-fpga-program.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/misc/carma/carma-fpga-program.c b/drivers/misc/carma/carma-fpga-program.c
index fd0cb8b1eefb..298f9127e697 100644
--- a/drivers/misc/carma/carma-fpga-program.c
+++ b/drivers/misc/carma/carma-fpga-program.c
@@ -16,6 +16,7 @@
16#include <linux/completion.h> 16#include <linux/completion.h>
17#include <linux/miscdevice.h> 17#include <linux/miscdevice.h>
18#include <linux/dmaengine.h> 18#include <linux/dmaengine.h>
19#include <linux/fsldma.h>
19#include <linux/interrupt.h> 20#include <linux/interrupt.h>
20#include <linux/highmem.h> 21#include <linux/highmem.h>
21#include <linux/kernel.h> 22#include <linux/kernel.h>
@@ -524,7 +525,7 @@ static noinline int fpga_program_dma(struct fpga_dev *priv)
524 goto out_dma_unmap; 525 goto out_dma_unmap;
525 } 526 }
526 527
527 ret = chan->device->device_control(chan, FSLDMA_EXTERNAL_START, 1); 528 ret = fsl_dma_external_start(chan, 1)
528 if (ret) { 529 if (ret) {
529 dev_err(priv->dev, "DMA external control setup failed\n"); 530 dev_err(priv->dev, "DMA external control setup failed\n");
530 goto out_dma_unmap; 531 goto out_dma_unmap;