From: Alex Elder Date: Tue, 4 Aug 2015 18:44:10 +0000 (-0500) Subject: greybus: kernel_ver.h: define U32_MAX and U64_MAX X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=47a96858b526e14882438e455ec078fc7e51155b;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git greybus: kernel_ver.h: define U32_MAX and U64_MAX These were not defined, and I just posted patches that use them. Signed-off-by: Alex Elder Tested-by: Mark Greer Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/kernel_ver.h b/drivers/staging/greybus/kernel_ver.h index c2e92df9f417..d0e05e656475 100644 --- a/drivers/staging/greybus/kernel_ver.h +++ b/drivers/staging/greybus/kernel_ver.h @@ -57,6 +57,14 @@ #define U16_MAX ((u16)(~0U)) #endif /* !U16_MAX */ +#ifndef U32_MAX +#define U32_MAX ((u32)(~0U)) +#endif /* !U32_MAX */ + +#ifndef U64_MAX +#define U64_MAX ((u64)(~0U)) +#endif /* !U64_MAX */ + /* * The GPIO api sucks rocks in places, like removal, so work around their * explicit requirements of catching the return value for kernels older than