]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
ASoC: SOF: uapi: header: Convert sof_abi_hdr comments to kernel style
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Mon, 13 Mar 2023 11:03:40 +0000 (13:03 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 13 Mar 2023 14:06:50 +0000 (14:06 +0000)
Replace the comments for sof_abi_hdr to kernel style.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Jaska Uimonen <jaska.uimonen@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20230313110344.16644-4-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/uapi/sound/sof/header.h

index e9bba93a53990b4f32ad148ea8f51295fff3e3d5..e53b62b9e2c5b2ed95269831061f7b86ab4d3d17 100644 (file)
 
 #include <linux/types.h>
 
-/*
- * Header for all non IPC ABI data.
+/**
+ * struct sof_abi_hdr - Header for all non IPC ABI data.
+ * @magic: Magic number for validation: 0x00464F53 ('S', 'O', 'F', '\0')
+ * @type: Component specific type
+ * @size: The size in bytes of the data, excluding this struct
+ * @abi: SOF ABI version
+ * @reserved: Reserved for future use
+ * @data: Component data - opaque to core
  *
  * Identifies data type, size and ABI.
  * Used by any bespoke component data structures or binary blobs.
  */
 struct sof_abi_hdr {
-       __u32 magic;            /**< 'S', 'O', 'F', '\0' */
-       __u32 type;             /**< component specific type */
-       __u32 size;             /**< size in bytes of data excl. this struct */
-       __u32 abi;              /**< SOF ABI version */
-       __u32 reserved[4];      /**< reserved for future use */
-       __u32 data[];           /**< Component data - opaque to core */
+       __u32 magic;
+       __u32 type;
+       __u32 size;
+       __u32 abi;
+       __u32 reserved[4];
+       __u32 data[];
 }  __packed;
 
 #define SOF_MANIFEST_DATA_TYPE_NHLT 1