]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - sound/soc/intel/common/sst-dsp.c
Merge tag 'asoc-v4.3-rc6' into asoc-next
[karo-tx-linux.git] / sound / soc / intel / common / sst-dsp.c
index a627236dd1f5b47e47e132c6feae996bdfcb9dc1..c9452e02e0dda6735238736a9e8d05267615abb0 100644 (file)
@@ -420,6 +420,7 @@ void sst_dsp_inbox_read(struct sst_dsp *sst, void *message, size_t bytes)
 }
 EXPORT_SYMBOL_GPL(sst_dsp_inbox_read);
 
+#if IS_ENABLED(CONFIG_DW_DMAC_CORE)
 struct sst_dsp *sst_dsp_new(struct device *dev,
        struct sst_dsp_device *sst_dev, struct sst_pdata *pdata)
 {
@@ -484,6 +485,7 @@ void sst_dsp_free(struct sst_dsp *sst)
        sst_dma_free(sst->dma);
 }
 EXPORT_SYMBOL_GPL(sst_dsp_free);
+#endif
 
 /* Module information */
 MODULE_AUTHOR("Liam Girdwood");