[alsa-devel] [PATCH v4 2/3] Add u8 in type_compat.h

Vinod Koul vinod.koul at intel.com
Thu Apr 28 07:37:57 CEST 2016


From: Shreyas NC <shreyas.nc at intel.com>

Skylake headers use u8 data types which were not present in
type_compat so add them.

Signed-off-by: Shreyas NC <shreyas.nc at intel.com>
Signed-off-by: Vinod Koul <vinod.koul at intel.com>
---
 include/sound/type_compat.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/sound/type_compat.h b/include/sound/type_compat.h
index eec86e4bc41e..e973ff3139e2 100644
--- a/include/sound/type_compat.h
+++ b/include/sound/type_compat.h
@@ -32,9 +32,11 @@ typedef int32_t __s32;
 #define __le64 __u64
 #define __le32 __u32
 #define __le16 __u16
+#define __le8  __u8
 #define __be64 __u64
 #define __be32 __u32
 #define __be16 __u16
+#define __be8  __u8
 #endif /* DOC_HIDDEN */
 
 #endif /* __TYPE_COMPAT_H */
-- 
1.9.1



More information about the Alsa-devel mailing list