summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/most/files/0013-Fix-build-with-5.7-kernel.patch
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2021-11-03 15:18:49 +0100
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2021-11-03 22:43:56 +0100
commit1b72a0f90fa7d1b45eb1017629cc83dcd8971c48 (patch)
treedecc406f376b968d90fade3c321777e068a8c00e /recipes-kernel/most/files/0013-Fix-build-with-5.7-kernel.patch
parent94a051785cdb588bc3a475a5490f1f286176d646 (diff)
Prepare master for new framework integration
During the last workshop the transition to the new framework was presented. This change essentially deprecates the SMACK-based application framework. To prepare the integration of it, we remove the deprecated components: - recipes-apis : all agl-service-* - recipes-demos: all demo apps but homescreen - non-essential configurations Todo: We need to bring-back the html5 image in a follow-up w/o ties into the old framework. v2: kept WAM + Chromium recipes for reference v3: rebased Bug-AGL: SPEC-4121 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I58075f5f1e477106a1aad3d2171a0904bf0cb16e
Diffstat (limited to 'recipes-kernel/most/files/0013-Fix-build-with-5.7-kernel.patch')
-rw-r--r--recipes-kernel/most/files/0013-Fix-build-with-5.7-kernel.patch54
1 files changed, 0 insertions, 54 deletions
diff --git a/recipes-kernel/most/files/0013-Fix-build-with-5.7-kernel.patch b/recipes-kernel/most/files/0013-Fix-build-with-5.7-kernel.patch
deleted file mode 100644
index 85e38857..00000000
--- a/recipes-kernel/most/files/0013-Fix-build-with-5.7-kernel.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-Fix building against 5.7 or newer kernels
-
-VFL_TYPE_GRABBER was renamed VFL_TYPE_VIDEO in 5.7. Marking as
-inappropriate for upstream for now, as it seems the standalone
-version of the driver has been superceded by the version in the
-staging tree in the mainline kernel, and there are no obvious
-signs of maintenance.
-
-Upstream-Status: Inappropriate [no upstream]
-Signed-off-by: Scott Murray <scott.murray@konsulko.com>
-
----
-diff --git a/aim-v4l2/video.c b/aim-v4l2/video.c
-index db75d4d..fbf7139 100644
---- a/aim-v4l2/video.c
-+++ b/aim-v4l2/video.c
-@@ -14,6 +14,7 @@
- #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
-
- #include <linux/module.h>
-+#include <linux/version.h>
- #include <linux/slab.h>
- #include <linux/init.h>
- #include <linux/device.h>
-@@ -31,6 +32,11 @@
-
- #define V4L2_AIM_MAX_INPUT 1
-
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(5,7,0)
-+/* Handle pre-5.7 naming */
-+#define VFL_TYPE_VIDEO VFL_TYPE_GRABBER
-+#endif
-+
- static struct most_aim aim_info;
-
- struct most_video_dev {
-@@ -82,7 +88,7 @@ static int aim_vdev_open(struct file *filp)
- v4l2_info(&mdev->v4l2_dev, "aim_vdev_open()\n");
-
- switch (vdev->vfl_type) {
-- case VFL_TYPE_GRABBER:
-+ case VFL_TYPE_VIDEO:
- break;
- default:
- return -EINVAL;
-@@ -461,7 +467,7 @@ static int aim_register_videodev(struct most_video_dev *mdev)
-
- /* Register the v4l2 device */
- video_set_drvdata(mdev->vdev, mdev);
-- ret = video_register_device(mdev->vdev, VFL_TYPE_GRABBER, -1);
-+ ret = video_register_device(mdev->vdev, VFL_TYPE_VIDEO, -1);
- if (ret) {
- v4l2_err(&mdev->v4l2_dev, "video_register_device failed (%d)\n",
- ret);