]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - sound/soc/intel/common/sst-dsp.h
Merge remote-tracking branch 'sound/for-next'
[karo-tx-linux.git] / sound / soc / intel / common / sst-dsp.h
index 1f45f18715c09ef44ccb0b31930f27ae875673b6..859f0de003391489b2da65c0195f62caa2e0b9ef 100644 (file)
@@ -216,10 +216,12 @@ struct sst_pdata {
        void *dsp;
 };
 
+#if IS_ENABLED(CONFIG_DW_DMAC_CORE)
 /* Initialization */
 struct sst_dsp *sst_dsp_new(struct device *dev,
        struct sst_dsp_device *sst_dev, struct sst_pdata *pdata);
 void sst_dsp_free(struct sst_dsp *sst);
+#endif
 
 /* SHIM Read / Write */
 void sst_dsp_shim_write(struct sst_dsp *sst, u32 offset, u32 value);