|
@@ -114,7 +114,7 @@ struct imx_dma_channel {
|
|
|
void (*err_handler) (int, void *, int errcode);
|
|
|
void (*prog_handler) (int, void *, struct scatterlist *);
|
|
|
void *data;
|
|
|
- dmamode_t dma_mode;
|
|
|
+ unsigned int dma_mode;
|
|
|
struct scatterlist *sg;
|
|
|
unsigned int resbytes;
|
|
|
int dma_num;
|
|
@@ -193,7 +193,7 @@ static inline int imx_dma_sg_next(int channel, struct scatterlist *sg)
|
|
|
int
|
|
|
imx_dma_setup_single(int channel, dma_addr_t dma_address,
|
|
|
unsigned int dma_length, unsigned int dev_addr,
|
|
|
- dmamode_t dmamode)
|
|
|
+ unsigned int dmamode)
|
|
|
{
|
|
|
struct imx_dma_channel *imxdma = &imx_dma_channels[channel];
|
|
|
|
|
@@ -288,7 +288,7 @@ int
|
|
|
imx_dma_setup_sg(int channel,
|
|
|
struct scatterlist *sg, unsigned int sgcount,
|
|
|
unsigned int dma_length, unsigned int dev_addr,
|
|
|
- dmamode_t dmamode)
|
|
|
+ unsigned int dmamode)
|
|
|
{
|
|
|
struct imx_dma_channel *imxdma = &imx_dma_channels[channel];
|
|
|
|