summarylogtreecommitdiffstats
path: root/4.8.patch
diff options
context:
space:
mode:
Diffstat (limited to '4.8.patch')
-rw-r--r--4.8.patch19
1 files changed, 0 insertions, 19 deletions
diff --git a/4.8.patch b/4.8.patch
deleted file mode 100644
index c94914cdd24..00000000000
--- a/4.8.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff --git a/smi2021_v4l2.c b/smi2021_v4l2.c
-index 9d8fa3d..a72c29a 100644
---- a/smi2021_v4l2.c
-+++ b/smi2021_v4l2.c
-@@ -194,7 +194,13 @@ static int queue_setup(struct vb2_queue *vq,
- const void *parg,
- #endif
- unsigned int *nbuffers, unsigned int *nplanes,
-- unsigned int sizes[], void *alloc_ctxs[])
-+ unsigned int sizes[],
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 8, 0)
-+ void *alloc_ctxs[]
-+#else
-+ struct device *alloc_devs[]
-+#endif
-+ )
- {
- struct smi2021 *smi2021 = vb2_get_drv_priv(vq);
- *nbuffers = clamp_t(unsigned int, *nbuffers, 4, 16);