diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2022-05-04 13:28:31 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-05-04 15:31:18 +0100 |
commit | f80beaf6f2b1eb55fb1b2128a43e0a0c9c4d19de (patch) | |
tree | 57807ff3d3c66dff7523c643b8f8db261988bf46 /sound/soc/sof/ipc3-priv.h | |
parent | c0b38be14f1d843c29edc763d3df3cc741a2bf10 (diff) | |
download | linux-stable-f80beaf6f2b1eb55fb1b2128a43e0a0c9c4d19de.tar.gz linux-stable-f80beaf6f2b1eb55fb1b2128a43e0a0c9c4d19de.tar.bz2 linux-stable-f80beaf6f2b1eb55fb1b2128a43e0a0c9c4d19de.zip |
ASoC: SOF: ipc3: Remove the ipc3-ops.h header file
Only the main IPC ops struct should be visible outside of IPC3 code to make
sure that the code is correctly abstracted.
Instead of keeping the ipc3-ops.h with only the high level ops struct
declaration, put the ipc3_ops to sof-priv.h and move all other ops struct
declaration into ipc3-priv.h
New IPC implementation should follow this route: the main IPC ops should be
declared in sof-priv.h and no other IPC version related header be used
for generic code.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20220504102831.10071-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/ipc3-priv.h')
-rw-r--r-- | sound/soc/sof/ipc3-priv.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/sof/ipc3-priv.h b/sound/soc/sof/ipc3-priv.h index a9b9201508a5..82f9d0cbfb93 100644 --- a/sound/soc/sof/ipc3-priv.h +++ b/sound/soc/sof/ipc3-priv.h @@ -12,6 +12,9 @@ #include "sof-priv.h" /* IPC3 specific ops */ +extern const struct sof_ipc_pcm_ops ipc3_pcm_ops; +extern const struct sof_ipc_tplg_ops ipc3_tplg_ops; +extern const struct sof_ipc_tplg_control_ops tplg_ipc3_control_ops; extern const struct sof_ipc_fw_loader_ops ipc3_loader_ops; /* helpers for fw_ready and ext_manifest parsing */ |