Message ID | 1524763162-4865-6-git-send-email-brad@nextdimension.cc (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Hello Brad! This patch added the inclusion of "linux/of_i2c.h". This gave the warnings in the last nightly build for Kernel 3.6 - 3.9. I just pushed a fix for that, so we should have an OK build this night. BR, Jasmin
On 2018-05-12 14:42, Jasmin J. wrote: > Hello Brad! > > This patch added the inclusion of "linux/of_i2c.h". > This gave the warnings in the last nightly build for Kernel > 3.6 - 3.9. > > I just pushed a fix for that, so we should have an OK build this > night. > > BR, > Jasmin Thanks for the fix Jasmin. Are the build logs public? Cheers, Brad
Hello Brad!
> Are the build logs public?
Look for the eMail
cron job: media_tree daily build: ?????
The ????? is OK, WARNINGS or ERRORS
In this eMail there are links to the short and long logfile.
Hans uses a complete build system which can download the Kernel sources, build
media-build against all of them and does also Sparse and Smatch tests. It even
builds gcc 7.x and all of the required tools for you. You can find it here:
https://git.linuxtv.org/hverkuil/build-scripts.git
BR,
Jasmin
diff --git a/v4l/compat.h b/v4l/compat.h index d52c602..87ce401 100644 --- a/v4l/compat.h +++ b/v4l/compat.h @@ -2414,4 +2414,11 @@ static inline void *memdup_user_nul(const void __user *src, size_t len) #include <linux/frame.h> #endif +/* header location for of_find_i2c_[device,adapter]_by_node */ +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 12, 0) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 5, 0) +#include <linux/of_i2c.h> +#endif +#endif + #endif /* _COMPAT_H */
Header does not exist before 3.5.0 and is merged into linux/i2c.h in 3.12.0. Signed-off-by: Brad Love <brad@nextdimension.cc> --- v4l/compat.h | 7 +++++++ 1 file changed, 7 insertions(+)