]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: SOF: sof-audio.h: optimize snd_sof_pcm_stream_pipeline_list
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Fri, 2 Aug 2024 12:46:09 +0000 (14:46 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 2 Aug 2024 13:05:16 +0000 (14:05 +0100)
Invert members to remove 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>
Link: https://patch.msgid.link/20240802124609.188954-5-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/sof-audio.h

index 49be02234fc386a032df0fc57d0319cbab03e4b5..b9b8b64768b9794a237d5141bce6cc2613787953 100644 (file)
@@ -314,12 +314,12 @@ struct sof_token_info {
 
 /**
  * struct snd_sof_pcm_stream_pipeline_list - List of pipelines associated with a PCM stream
- * @count: number of pipeline widgets in the @pipe_widgets array
  * @pipelines: array of pipelines
+ * @count: number of pipeline widgets in the @pipe_widgets array
  */
 struct snd_sof_pcm_stream_pipeline_list {
-       u32 count;
        struct snd_sof_pipeline **pipelines;
+       u32 count;
 };
 
 /* PCM stream, mapped to FW component  */