diff options
author | Alex Elder <elder@linaro.org> | 2015-08-04 13:44:10 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-08-04 12:46:37 -0700 |
commit | 47a96858b526e14882438e455ec078fc7e51155b (patch) | |
tree | fd047f5cdc68f4f07f669564bcd6a22e6433a82c /drivers/staging/greybus/kernel_ver.h | |
parent | 1fb807cf6da0b65af4ba6ab100d38ebef17ff25e (diff) |
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 <elder@linaro.org>
Tested-by: Mark Greer <mgreer@animalcreek.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/kernel_ver.h')
-rw-r--r-- | drivers/staging/greybus/kernel_ver.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 |