Keep the entire platform data in the struct dw_dma. It makes the driver a bit cleaner.
Showing the changes to include/linux/platform_data (1 of 4 files). Show all
Unified · Split
| @@ -55,7 +55,7 @@ struct dw_dma_platform_data { · 54 unmodified lines | ||
| 55 | 55 | #define CHAN_PRIORITY_ASCENDING 0 /* chan0 highest */ |
| 56 | 56 | #define CHAN_PRIORITY_DESCENDING 1 /* chan7 highest */ |
| 57 | 57 | unsigned char chan_priority; |
| 58 | − unsigned short block_size; | |
| 58 | + unsigned int block_size; | |
| 59 | 59 | unsigned char nr_masters; |
| 60 | 60 | unsigned char data_width[DW_DMA_MAX_NR_MASTERS]; |
| 61 | 61 | }; |