dma: Callback's user data has to be called user_data
s/callback_arg/user_data Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
3a3f10c06e
commit
8144de1513
1 changed files with 2 additions and 2 deletions
|
@ -152,7 +152,7 @@ typedef void (*dma_callback_t)(struct device *dev, void *user_data,
|
||||||
* block_count is the number of blocks used for block chaining, this
|
* block_count is the number of blocks used for block chaining, this
|
||||||
* depends on availability of the DMA controller.
|
* depends on availability of the DMA controller.
|
||||||
*
|
*
|
||||||
* callback_arg private argument from DMA client.
|
* user_data private data from DMA client.
|
||||||
*
|
*
|
||||||
* dma_callback see dma_callback_t for details
|
* dma_callback see dma_callback_t for details
|
||||||
*/
|
*/
|
||||||
|
@ -174,7 +174,7 @@ struct dma_config {
|
||||||
uint32_t dest_burst_length : 16;
|
uint32_t dest_burst_length : 16;
|
||||||
uint32_t block_count;
|
uint32_t block_count;
|
||||||
struct dma_block_config *head_block;
|
struct dma_block_config *head_block;
|
||||||
void *callback_arg;
|
void *user_data;
|
||||||
dma_callback_t dma_callback;
|
dma_callback_t dma_callback;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue