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>
This commit is contained in:
parent
1fb807cf6d
commit
47a96858b5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user