summaryrefslogtreecommitdiffstats
path: root/sound/soc/sof/ipc3.c
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>2022-05-04 13:28:31 +0300
committerMark Brown <broonie@kernel.org>2022-05-04 15:31:18 +0100
commitf80beaf6f2b1eb55fb1b2128a43e0a0c9c4d19de (patch)
tree57807ff3d3c66dff7523c643b8f8db261988bf46 /sound/soc/sof/ipc3.c
parentc0b38be14f1d843c29edc763d3df3cc741a2bf10 (diff)
downloadlinux-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.c')
-rw-r--r--sound/soc/sof/ipc3.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/sof/ipc3.c b/sound/soc/sof/ipc3.c
index efcd201597fa..a8ffc4f99565 100644
--- a/sound/soc/sof/ipc3.c
+++ b/sound/soc/sof/ipc3.c
@@ -12,7 +12,6 @@
#include "sof-priv.h"
#include "sof-audio.h"
#include "ipc3-priv.h"
-#include "ipc3-ops.h"
#include "ops.h"
typedef void (*ipc3_rx_callback)(struct snd_sof_dev *sdev, void *msg_buf);