ASoC: SOF: ipc3: Remove the ipc3-ops.h header file
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Wed, 4 May 2022 10:28:31 +0000 (13:28 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 4 May 2022 14:31:18 +0000 (15:31 +0100)
commitf80beaf6f2b1eb55fb1b2128a43e0a0c9c4d19de
tree57807ff3d3c66dff7523c643b8f8db261988bf46
parentc0b38be14f1d843c29edc763d3df3cc741a2bf10
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>
sound/soc/sof/ipc.c
sound/soc/sof/ipc3-control.c
sound/soc/sof/ipc3-loader.c
sound/soc/sof/ipc3-ops.h [deleted file]
sound/soc/sof/ipc3-pcm.c
sound/soc/sof/ipc3-priv.h
sound/soc/sof/ipc3-topology.c
sound/soc/sof/ipc3.c
sound/soc/sof/sof-priv.h