ASoC: SOF: uapi: header: Convert sof_abi_hdr comments to kernel style
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>
This commit is contained in:
Родитель
76fc628aeb
Коммит
2e4ef6f479
|
@ -11,19 +11,25 @@
|
|||
|
||||
#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
|
||||
|
|
Загрузка…
Ссылка в новой задаче