aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/sof/sof-client.h
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>2025-08-29 13:25:10 +0300
committerMark Brown <broonie@kernel.org>2025-08-29 13:34:26 +0200
commit07752abfa5dbf7cb4d9ce69fa94dc3b12bc597d9 (patch)
tree69266e7aabaf6675cd037f3c698e052e3b28abb1 /sound/soc/sof/sof-client.h
parentASoC: SOF: sof-client: Convert sof_client_dev_to_sof_dev into function (diff)
downloadlinux-07752abfa5dbf7cb4d9ce69fa94dc3b12bc597d9.tar.gz
linux-07752abfa5dbf7cb4d9ce69fa94dc3b12bc597d9.zip
ASoC: SOF: sof-client: Introduce sof_client_dev_entry structure
Introduce a new internal structure for wrapping the sof_client_dev and move members away from the client visible struct that they must not access, let alone see (sdev and the list). The changes are mechanical in nature and contained within sof-client core code, no functional change or change in behavior is introduced. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Message-ID: <20250829102510.15159-3-peter.ujfalusi@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/sof-client.h')
-rw-r--r--sound/soc/sof/sof-client.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/soc/sof/sof-client.h b/sound/soc/sof/sof-client.h
index 8b267b0b9ff1..6e9dd77f7c9b 100644
--- a/sound/soc/sof/sof-client.h
+++ b/sound/soc/sof/sof-client.h
@@ -18,14 +18,10 @@ struct sof_ipc4_fw_module;
/**
* struct sof_client_dev - SOF client device
* @auxdev: auxiliary device
- * @sdev: pointer to SOF core device struct, resticted for core use only
- * @list: item in SOF core client dev list, resticted for core use only
* @data: device specific data
*/
struct sof_client_dev {
struct auxiliary_device auxdev;
- struct snd_sof_dev *sdev;
- struct list_head list;
void *data;
};