summaryrefslogtreecommitdiffstats
path: root/include/uapi/sound/sof/header.h
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2019-07-26 14:10:09 +0200
committerMark Brown <broonie@kernel.org>2019-07-26 14:10:09 +0200
commit3b46a67af2eb8214a634a37c485146ca0ef42849 (patch)
tree1fef31dfdf401819f71158ad28ba87e7c8c4d886 /include/uapi/sound/sof/header.h
parentASoC: codec2codec: deal with params when necessary (diff)
parentASoC: ti: davinci-mcasp: Correct slot_width posed constraint (diff)
downloadlinux-3b46a67af2eb8214a634a37c485146ca0ef42849.tar.xz
linux-3b46a67af2eb8214a634a37c485146ca0ef42849.zip
Merge branch 'asoc-5.3' into asoc-5.4
Diffstat (limited to 'include/uapi/sound/sof/header.h')
-rw-r--r--include/uapi/sound/sof/header.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/include/uapi/sound/sof/header.h b/include/uapi/sound/sof/header.h
index 7868990b0d6f..5f4518e7a972 100644
--- a/include/uapi/sound/sof/header.h
+++ b/include/uapi/sound/sof/header.h
@@ -9,6 +9,8 @@
#ifndef __INCLUDE_UAPI_SOUND_SOF_USER_HEADER_H__
#define __INCLUDE_UAPI_SOUND_SOF_USER_HEADER_H__
+#include <linux/types.h>
+
/*
* Header for all non IPC ABI data.
*
@@ -16,12 +18,12 @@
* Used by any bespoke component data structures or binary blobs.
*/
struct sof_abi_hdr {
- uint32_t magic; /**< 'S', 'O', 'F', '\0' */
- uint32_t type; /**< component specific type */
- uint32_t size; /**< size in bytes of data excl. this struct */
- uint32_t abi; /**< SOF ABI version */
- uint32_t reserved[4]; /**< reserved for future use */
- uint32_t data[0]; /**< Component data - opaque to core */
+ __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[0]; /**< Component data - opaque to core */
} __packed;
#endif