diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2016-04-27 13:15:39 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-05-02 12:01:05 +0200 |
commit | 161c3d04aeca8a5bfffe3902786bdf0ccd8575c0 (patch) | |
tree | 8621889af6473cfda358062b7c1af2fa3249bc55 /include | |
parent | dmaengine: dw: revisit data_width property (diff) | |
download | linux-161c3d04aeca8a5bfffe3902786bdf0ccd8575c0.tar.xz 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')
-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]; }; |