diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2016-04-27 14:15:39 +0300 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-05-02 15:31:05 +0530 |
commit | 161c3d04aeca8a5bfffe3902786bdf0ccd8575c0 (patch) | |
tree | 8621889af6473cfda358062b7c1af2fa3249bc55 /include/linux/platform_data/dma-dw.h | |
parent | 2e65060e803e046fc9b5ed0107494a452424845e (diff) | |
download | blackbird-op-linux-161c3d04aeca8a5bfffe3902786bdf0ccd8575c0.tar.gz blackbird-op-linux-161c3d04aeca8a5bfffe3902786bdf0ccd8575c0.zip |
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/dma-dw.h')
-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 { #define CHAN_PRIORITY_ASCENDING 0 /* chan0 highest */ #define CHAN_PRIORITY_DESCENDING 1 /* chan7 highest */ unsigned char chan_priority; - unsigned short block_size; + unsigned int block_size; unsigned char nr_masters; unsigned char data_width[DW_DMA_MAX_NR_MASTERS]; }; |