diff options
author | Heikki Krogerus <heikki.krogerus@linux.intel.com> | 2019-08-27 07:14:37 -0400 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-09-04 09:55:42 -0400 |
commit | 389c9af7f1a1e564c18ab744528b7f64759b7875 (patch) | |
tree | fb186ab5bc1452ca2e840629225248fa4ba09caf /scripts/mod/file2alias.c | |
parent | 858805b336be1cabb3d9033adaa3676574d12e37 (diff) |
modpost: add guid_t type definition
Since guid_t is the recommended data type for UUIDs in
kernel (and I guess uuid_le is meant to be ultimately
replaced with it), it should be made available here as
well.
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts/mod/file2alias.c')
-rw-r--r-- | scripts/mod/file2alias.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/mod/file2alias.c b/scripts/mod/file2alias.c index e17a29ae2e97..c91eba751804 100644 --- a/scripts/mod/file2alias.c +++ b/scripts/mod/file2alias.c | |||
@@ -36,6 +36,11 @@ typedef uint16_t __u16; | |||
36 | typedef unsigned char __u8; | 36 | typedef unsigned char __u8; |
37 | typedef struct { | 37 | typedef struct { |
38 | __u8 b[16]; | 38 | __u8 b[16]; |
39 | } guid_t; | ||
40 | |||
41 | /* backwards compatibility, don't use in new code */ | ||
42 | typedef struct { | ||
43 | __u8 b[16]; | ||
39 | } uuid_le; | 44 | } uuid_le; |
40 | typedef struct { | 45 | typedef struct { |
41 | __u8 b[16]; | 46 | __u8 b[16]; |