Commit b544f3fd authored by Tomas Winkler's avatar Tomas Winkler Committed by Greg Kroah-Hartman

uuid: add uuid.h to exported header list

uuid is used in mei.h interface
Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 32c826b6
...@@ -381,6 +381,7 @@ header-y += unistd.h ...@@ -381,6 +381,7 @@ header-y += unistd.h
header-y += usbdevice_fs.h header-y += usbdevice_fs.h
header-y += utime.h header-y += utime.h
header-y += utsname.h header-y += utsname.h
header-y += uuid.h
header-y += uvcvideo.h header-y += uvcvideo.h
header-y += v4l2-mediabus.h header-y += v4l2-mediabus.h
header-y += v4l2-subdev.h header-y += v4l2-subdev.h
......
...@@ -54,6 +54,8 @@ typedef struct { ...@@ -54,6 +54,8 @@ typedef struct {
UUID_BE(0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, \ UUID_BE(0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00) 0x00, 0x00, 0x00, 0x00)
#ifdef __KERNEL__
static inline int uuid_le_cmp(const uuid_le u1, const uuid_le u2) static inline int uuid_le_cmp(const uuid_le u1, const uuid_le u2)
{ {
return memcmp(&u1, &u2, sizeof(uuid_le)); return memcmp(&u1, &u2, sizeof(uuid_le));
...@@ -67,4 +69,6 @@ static inline int uuid_be_cmp(const uuid_be u1, const uuid_be u2) ...@@ -67,4 +69,6 @@ static inline int uuid_be_cmp(const uuid_be u1, const uuid_be u2)
extern void uuid_le_gen(uuid_le *u); extern void uuid_le_gen(uuid_le *u);
extern void uuid_be_gen(uuid_be *u); extern void uuid_be_gen(uuid_be *u);
#endif /* __KERNEL__ */
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment