drivers: dma: Align all drivers using dma_callback_t type
No need to re-declare such signature anymore. Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
800e6c3a28
commit
3a3f10c06e
8 changed files with 8 additions and 23 deletions
|
@ -20,8 +20,7 @@ struct dma_stm32_stream {
|
|||
uint32_t src_size;
|
||||
uint32_t dst_size;
|
||||
void *callback_arg; /* holds the client data */
|
||||
void (*dma_callback)(struct device *dev, void *arg,
|
||||
uint32_t id, int error_code);
|
||||
dma_callback_t dma_callback;
|
||||
};
|
||||
|
||||
struct dma_stm32_data {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue