dmaengine: freescale: add and export fsl_dma_external_start()
The freescale driver uses custom device control FSLDMA_EXTERNAL_START to put the controller in external start mode. Since we are planning to deprecate the device control, move this to exported API. Subsequent patches will remove the FSLDMA_EXTERNAL_START Signed-off-by: Vinod Koul <vinod.koul@intel.com>
This commit is contained in:
13
include/linux/fsldma.h
Normal file
13
include/linux/fsldma.h
Normal file
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
* This is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*/
|
||||
|
||||
#ifndef FSL_DMA_H
|
||||
#define FSL_DMA_H
|
||||
/* fsl dma API for enxternal start */
|
||||
int fsl_dma_external_start(struct dma_chan *dchan, int enable);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user