diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2017-09-17 18:58:12 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-09-21 15:18:12 +0200 |
commit | 67d44a18bd3143e28f6b2a8038100585a2d596cb (patch) | |
tree | dcebbda90bbd4631a2f2f50cb99586c14febf3e6 | |
parent | b2e0254f82e24f83c54f9a5e5fdb579569ab46a5 (diff) |
header: add UUID_STRING_LEN
This was added in commit 2b1b0d6670 ("lib/uuid.c: introduce a few more
generic helpers") and is used by ath10k.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-rw-r--r-- | backport/backport-include/linux/uuid.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/backport/backport-include/linux/uuid.h b/backport/backport-include/linux/uuid.h index 5ffe225b..bc6fbe17 100644 --- a/backport/backport-include/linux/uuid.h +++ b/backport/backport-include/linux/uuid.h @@ -3,6 +3,14 @@ #include <linux/version.h> #include_next <linux/uuid.h> +#ifndef UUID_STRING_LEN +/* + * The length of a UUID string ("aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee") + * not including trailing NUL. + */ +#define UUID_STRING_LEN 36 +#endif + #if LINUX_VERSION_IS_LESS(4,13,0) #define guid_t uuid_le #define uuid_t uuid_be |