]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: dw: pass platform data via struct dw_dma_chip
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 27 Apr 2016 11:15:40 +0000 (14:15 +0300)
committerVinod Koul <vinod.koul@intel.com>
Mon, 2 May 2016 10:01:05 +0000 (15:31 +0530)
commit1037d07bbc6ca4d21dd2359bc3e742bd182657b0
tree76e9ffceb36ecb9b75c8bb591b517da06ecab207
parent7f210a38c25beffafe5a7ca1377e174dea092089
dmaengine: dw: pass platform data via struct dw_dma_chip

We pass struct dw_dma_chip to dw_dma_probe() anyway, thus we may use it to
pass a platform data as well.

While here, constify the source of the platform data.

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>
drivers/ata/sata_dwc_460ex.c
drivers/dma/dw/core.c
drivers/dma/dw/pci.c
drivers/dma/dw/platform.c
include/linux/dma/dw.h
sound/soc/intel/common/sst-firmware.c