diff options
-rw-r--r-- | include/linux/Kbuild | 1 | ||||
-rw-r--r-- | include/linux/uuid.h | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/Kbuild b/include/linux/Kbuild index 3c9b616c834a..137dd4bb4ba7 100644 --- a/include/linux/Kbuild +++ b/include/linux/Kbuild | |||
@@ -381,6 +381,7 @@ header-y += unistd.h | |||
381 | header-y += usbdevice_fs.h | 381 | header-y += usbdevice_fs.h |
382 | header-y += utime.h | 382 | header-y += utime.h |
383 | header-y += utsname.h | 383 | header-y += utsname.h |
384 | header-y += uuid.h | ||
384 | header-y += uvcvideo.h | 385 | header-y += uvcvideo.h |
385 | header-y += v4l2-mediabus.h | 386 | header-y += v4l2-mediabus.h |
386 | header-y += v4l2-subdev.h | 387 | header-y += v4l2-subdev.h |
diff --git a/include/linux/uuid.h b/include/linux/uuid.h index 5b7efbfcee4e..f86c37bfd4a0 100644 --- a/include/linux/uuid.h +++ b/include/linux/uuid.h | |||
@@ -54,6 +54,8 @@ typedef struct { | |||
54 | UUID_BE(0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, \ | 54 | UUID_BE(0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, \ |
55 | 0x00, 0x00, 0x00, 0x00) | 55 | 0x00, 0x00, 0x00, 0x00) |
56 | 56 | ||
57 | #ifdef __KERNEL__ | ||
58 | |||
57 | static inline int uuid_le_cmp(const uuid_le u1, const uuid_le u2) | 59 | static inline int uuid_le_cmp(const uuid_le u1, const uuid_le u2) |
58 | { | 60 | { |
59 | return memcmp(&u1, &u2, sizeof(uuid_le)); | 61 | 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 | extern void uuid_le_gen(uuid_le *u); | 69 | extern void uuid_le_gen(uuid_le *u); |
68 | extern void uuid_be_gen(uuid_be *u); | 70 | extern void uuid_be_gen(uuid_be *u); |
69 | 71 | ||
72 | #endif /* __KERNEL__ */ | ||
73 | |||
70 | #endif | 74 | #endif |