Re: [PATCH v6 4/4] dmaengine: dw: pass platform data via struct dw_dma_chip
From: Viresh Kumar
Date: Wed Apr 27 2016 - 02:47:25 EST
On 25-04-16, 15:35, Andy Shevchenko wrote:
> We pass struct dw_dma_chip to the dw_dma_probe() anyway, thus we may use it to
> pass platform data as well.
>
> While here, constify the source of platform data.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> ---
> drivers/ata/sata_dwc_460ex.c | 2 +-
> drivers/dma/dw/core.c | 9 +++++----
> drivers/dma/dw/pci.c | 5 +++--
> drivers/dma/dw/platform.c | 5 +++--
> include/linux/dma/dw.h | 5 ++++-
> sound/soc/intel/common/sst-firmware.c | 2 +-
> 6 files changed, 17 insertions(+), 11 deletions(-)
Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
--
viresh