diff options
Diffstat (limited to 'sound/soc/intel/common/sst-dsp-priv.h')
-rw-r--r-- | sound/soc/intel/common/sst-dsp-priv.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sound/soc/intel/common/sst-dsp-priv.h b/sound/soc/intel/common/sst-dsp-priv.h index 2151652d37b7..81aa1ed64201 100644 --- a/sound/soc/intel/common/sst-dsp-priv.h +++ b/sound/soc/intel/common/sst-dsp-priv.h | |||
@@ -243,7 +243,7 @@ struct sst_mem_block { | |||
243 | u32 size; /* block size */ | 243 | u32 size; /* block size */ |
244 | u32 index; /* block index 0..N */ | 244 | u32 index; /* block index 0..N */ |
245 | enum sst_mem_type type; /* block memory type IRAM/DRAM */ | 245 | enum sst_mem_type type; /* block memory type IRAM/DRAM */ |
246 | struct sst_block_ops *ops; /* block operations, if any */ | 246 | const struct sst_block_ops *ops;/* block operations, if any */ |
247 | 247 | ||
248 | /* block status */ | 248 | /* block status */ |
249 | u32 bytes_used; /* bytes in use by modules */ | 249 | u32 bytes_used; /* bytes in use by modules */ |
@@ -308,6 +308,8 @@ struct sst_dsp { | |||
308 | 308 | ||
309 | /* SKL data */ | 309 | /* SKL data */ |
310 | 310 | ||
311 | const char *fw_name; | ||
312 | |||
311 | /* To allocate CL dma buffers */ | 313 | /* To allocate CL dma buffers */ |
312 | struct skl_dsp_loader_ops dsp_ops; | 314 | struct skl_dsp_loader_ops dsp_ops; |
313 | struct skl_dsp_fw_ops fw_ops; | 315 | struct skl_dsp_fw_ops fw_ops; |
@@ -376,8 +378,8 @@ void sst_block_free_scratch(struct sst_dsp *dsp); | |||
376 | 378 | ||
377 | /* Register the DSPs memory blocks - would be nice to read from ACPI */ | 379 | /* Register the DSPs memory blocks - would be nice to read from ACPI */ |
378 | struct sst_mem_block *sst_mem_block_register(struct sst_dsp *dsp, u32 offset, | 380 | struct sst_mem_block *sst_mem_block_register(struct sst_dsp *dsp, u32 offset, |
379 | u32 size, enum sst_mem_type type, struct sst_block_ops *ops, u32 index, | 381 | u32 size, enum sst_mem_type type, const struct sst_block_ops *ops, |
380 | void *private); | 382 | u32 index, void *private); |
381 | void sst_mem_block_unregister_all(struct sst_dsp *dsp); | 383 | void sst_mem_block_unregister_all(struct sst_dsp *dsp); |
382 | 384 | ||
383 | /* Create/Free DMA resources */ | 385 | /* Create/Free DMA resources */ |