aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/common
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2016-04-27 14:15:40 +0300
committerVinod Koul <vinod.koul@intel.com>2016-05-02 15:31:05 +0530
commit3a14c66d43d018baed96ceb74f9ab548878c09b8 (patch)
tree76e9ffceb36ecb9b75c8bb591b517da06ecab207 /sound/soc/intel/common
parentdmaengine: dw: keep entire platform data in struct dw_dma (diff)
downloadlinux-dev-3a14c66d43d018baed96ceb74f9ab548878c09b8.tar.xz
linux-dev-3a14c66d43d018baed96ceb74f9ab548878c09b8.zip
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>
Diffstat (limited to 'sound/soc/intel/common')
-rw-r--r--sound/soc/intel/common/sst-firmware.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/common/sst-firmware.c b/sound/soc/intel/common/sst-firmware.c
index ef4881e7753a..25993527370b 100644
--- a/sound/soc/intel/common/sst-firmware.c
+++ b/sound/soc/intel/common/sst-firmware.c
@@ -203,7 +203,7 @@ static struct dw_dma_chip *dw_probe(struct device *dev, struct resource *mem,
chip->dev = dev;
- err = dw_dma_probe(chip, NULL);
+ err = dw_dma_probe(chip);
if (err)
return ERR_PTR(err);