From: Jasmin Jessich <jasmin@xxxxxx> This series fixed compilation errors for older kernels. I have tested it with Kernel 3.13 and Daniel with Kernel 4.12. I disabled VIDEO_OV5670 for all kernels older than 3.17, but I am not 100% sure if the required change to compile it was really implemented in that version (checked only the revision history). This series requires "Add compat code for skb_put_data" from Matthias Schwarzott to be applied first (see https://www.mail-archive.com/linux-media@xxxxxxxxxxxxxxx/msg116145.html ) Daniel Scheller (1): build: fix up build w/kernels <=4.12 by reverting 4.13 patches Jasmin Jessich (2): build: Add compat code for pm_runtime_get_if_in_use build: Disable VIDEO_OV5670 for Kernels older that 3.17 backports/backports.txt | 3 + .../v4.12_revert_solo6x10_copykerneluser.patch | 71 ++++++++++++++++++++++ v4l/compat.h | 15 +++++ v4l/scripts/make_config_compat.pl | 1 + v4l/versions.txt | 1 + 5 files changed, 91 insertions(+) create mode 100644 backports/v4.12_revert_solo6x10_copykerneluser.patch -- 2.7.4