diff options
Diffstat (limited to 'libc/kernel/uapi/sound/sof/fw.h')
-rw-r--r-- | libc/kernel/uapi/sound/sof/fw.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/libc/kernel/uapi/sound/sof/fw.h b/libc/kernel/uapi/sound/sof/fw.h index 72bb31c21..c36c2b99a 100644 --- a/libc/kernel/uapi/sound/sof/fw.h +++ b/libc/kernel/uapi/sound/sof/fw.h @@ -18,6 +18,7 @@ ****************************************************************************/ #ifndef __INCLUDE_UAPI_SOF_FW_H__ #define __INCLUDE_UAPI_SOF_FW_H__ +#include <linux/types.h> #define SND_SOF_FW_SIG_SIZE 4 #define SND_SOF_FW_ABI 1 #define SND_SOF_FW_SIG "Reef" @@ -43,8 +44,8 @@ enum snd_sof_fw_blk_type { }; struct snd_sof_blk_hdr { enum snd_sof_fw_blk_type type; - uint32_t size; - uint32_t offset; + __u32 size; + __u32 offset; } __packed; enum snd_sof_fw_mod_type { SOF_FW_BASE = 0, @@ -52,13 +53,13 @@ enum snd_sof_fw_mod_type { }; struct snd_sof_mod_hdr { enum snd_sof_fw_mod_type type; - uint32_t size; - uint32_t num_blocks; + __u32 size; + __u32 num_blocks; } __packed; struct snd_sof_fw_header { unsigned char sig[SND_SOF_FW_SIG_SIZE]; - uint32_t file_size; - uint32_t num_modules; - uint32_t abi; + __u32 file_size; + __u32 num_modules; + __u32 abi; } __packed; #endif |