From 758b0e80b1f137d2631b45e2533106bbc09f5810 Mon Sep 17 00:00:00 2001 From: Jan-Simon Moeller Date: Thu, 27 Jun 2024 12:47:48 +0000 Subject: Remove lin bus components We do no longer use lin bus components in the demo. Bug-AGL: SPEC-5189 Change-Id: Ie9b7a41f7f9b7e66b0adb26e3e26b1083a662b6a Signed-off-by: Jan-Simon Moeller Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30043 Reviewed-by: Scott Murray --- .../files/0005-Fix-build-with-5.13-kernel.patch | 24 ---------------------- 1 file changed, 24 deletions(-) delete mode 100644 recipes-kernel/sllin/files/0005-Fix-build-with-5.13-kernel.patch (limited to 'recipes-kernel/sllin/files/0005-Fix-build-with-5.13-kernel.patch') diff --git a/recipes-kernel/sllin/files/0005-Fix-build-with-5.13-kernel.patch b/recipes-kernel/sllin/files/0005-Fix-build-with-5.13-kernel.patch deleted file mode 100644 index 511470810..000000000 --- a/recipes-kernel/sllin/files/0005-Fix-build-with-5.13-kernel.patch +++ /dev/null @@ -1,24 +0,0 @@ -Remove TTY_LDISC_MAGIC usage - -The 5.13 kernel removed the .magic field from tty_ldisc_ops and -the associated TTY_LDISC_MAGIC #define, so remove their use when -building for 5.13 or newer. - -Upstream-Status: Inappropriate [no upstream] -Signed-off-by: Scott Murray - ---- -diff --git a/sllin/sllin.c b/sllin/sllin.c -index 92c52ad..904cff9 100644 ---- a/sllin/sllin.c -+++ b/sllin/sllin.c -@@ -1619,7 +1619,9 @@ static int sllin_ioctl(struct tty_struct *tty, struct file *file, - - static struct tty_ldisc_ops sll_ldisc = { - .owner = THIS_MODULE, -+#if LINUX_VERSION_CODE < KERNEL_VERSION(5,13,0) - .magic = TTY_LDISC_MAGIC, -+#endif - .name = "sllin", - .open = sllin_open, - .close = sllin_close, -- cgit 1.2.3-korg