mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-27 23:20:26 +09:00
dma: export mxs_dma_disable
This commit is contained in:
parent
8707fcb7fa
commit
91de1519bc
@ -148,6 +148,8 @@ struct mxs_dma_chan {
|
||||
struct list_head done;
|
||||
};
|
||||
|
||||
int mxs_dma_disable(int chan);
|
||||
|
||||
struct mxs_dma_desc *mxs_dma_desc_alloc(void);
|
||||
void mxs_dma_desc_free(struct mxs_dma_desc *);
|
||||
int mxs_dma_desc_append(int channel, struct mxs_dma_desc *pdesc);
|
||||
|
@ -180,7 +180,7 @@ static int mxs_dma_enable(int channel)
|
||||
* state. It is unwise to call this function if there is ANY chance the hardware
|
||||
* is still processing a command.
|
||||
*/
|
||||
static int mxs_dma_disable(int channel)
|
||||
int mxs_dma_disable(int channel)
|
||||
{
|
||||
struct mxs_dma_chan *pchan;
|
||||
struct mxs_apbh_regs *apbh_regs =
|
||||
|
Loading…
Reference in New Issue
Block a user