Skip to content

Commit 0304821

Browse files
morimotobroonie
authored andcommitted
ASoC: sof: include types.h at header.h
Content-Transfer-Encoding: 8bit Without <types.h> we will get these error linux/include/sound/sof/header.h:125:2: error: unknown type name ‘uint32_t’uint32_t size; linux/include/sound/sof/header.h:136:2: error: unknown type name ‘uint32_t’uint32_t size; linux/include/sound/sof/header.h:137:2: error: unknown type name ‘uint32_t’uint32_t cmd; ... linux/include/sound/sof/dai-imx.h:18:2: error: unknown type name ‘uint16_t’uint16_t reserved1; linux/include/sound/sof/dai-imx.h:30:2: error: unknown type name ‘uint16_t’uint16_t tdm_slot_width; linux/include/sound/sof/dai-imx.h:31:2: error: unknown type name ‘uint16_t’uint16_t reserved2; Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://lore.kernel.org/r/87a7a24l7r.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 848704f commit 0304821

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎include/sound/sof/header.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#ifndef __INCLUDE_SOUND_SOF_HEADER_H__
1010
#define __INCLUDE_SOUND_SOF_HEADER_H__
1111

12+
#include <linux/types.h>
1213
#include <uapi/sound/sof/abi.h>
1314

1415
/** \addtogroup sof_uapi uAPI

0 commit comments

Comments
 (0)