diff mbox series

[2/4] ASoC: SOF: sof-priv.h: optimize snd_sof_mailbox

Message ID 20240802124609.188954-3-pierre-louis.bossart@linux.intel.com (mailing list archive)
State Accepted
Commit e9e7eeaf199c7961d634235dbedeb7b682b1dd32
Headers show
Series ASoC: SOF: reshuffle and optimize structures | expand

Commit Message

Pierre-Louis Bossart Aug. 2, 2024, 12:46 p.m. UTC
Reverse the two members to remove a hole.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
---
 sound/soc/sof/sof-priv.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/sound/soc/sof/sof-priv.h b/sound/soc/sof/sof-priv.h
index 28179a573762..6ecc58e11592 100644
--- a/sound/soc/sof/sof-priv.h
+++ b/sound/soc/sof/sof-priv.h
@@ -412,8 +412,8 @@  struct snd_sof_debugfs_map {
 
 /* mailbox descriptor, used for host <-> DSP IPC */
 struct snd_sof_mailbox {
-	u32 offset;
 	size_t size;
+	u32 offset;
 };
 
 /* IPC message descriptor for host <-> DSP IO */