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)
commit3a14c66d43d018baed96ceb74f9ab548878c09b8
tree76e9ffceb36ecb9b75c8bb591b517da06ecab207
parent161c3d04aeca8a5bfffe3902786bdf0ccd8575c0
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