diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2016-04-27 07:15:39 -0400 |
|---|---|---|
| committer | Vinod Koul <vinod.koul@intel.com> | 2016-05-02 06:01:05 -0400 |
| commit | 161c3d04aeca8a5bfffe3902786bdf0ccd8575c0 (patch) | |
| tree | 8621889af6473cfda358062b7c1af2fa3249bc55 /include/linux/platform_data | |
| parent | 2e65060e803e046fc9b5ed0107494a452424845e (diff) | |
dmaengine: dw: keep entire platform data in struct dw_dma
Keep the entire platform data in the struct dw_dma.
It makes the driver a bit cleaner.
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/dma-dw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/platform_data/dma-dw.h b/include/linux/platform_data/dma-dw.h index ad768111c350..d15d8ba8cc24 100644 --- a/include/linux/platform_data/dma-dw.h +++ b/include/linux/platform_data/dma-dw.h | |||
| @@ -55,7 +55,7 @@ struct dw_dma_platform_data { | |||
| 55 | #define CHAN_PRIORITY_ASCENDING 0 /* chan0 highest */ | 55 | #define CHAN_PRIORITY_ASCENDING 0 /* chan0 highest */ |
| 56 | #define CHAN_PRIORITY_DESCENDING 1 /* chan7 highest */ | 56 | #define CHAN_PRIORITY_DESCENDING 1 /* chan7 highest */ |
| 57 | unsigned char chan_priority; | 57 | unsigned char chan_priority; |
| 58 | unsigned short block_size; | 58 | unsigned int block_size; |
| 59 | unsigned char nr_masters; | 59 | unsigned char nr_masters; |
| 60 | unsigned char data_width[DW_DMA_MAX_NR_MASTERS]; | 60 | unsigned char data_width[DW_DMA_MAX_NR_MASTERS]; |
| 61 | }; | 61 | }; |
