diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2023-05-31 23:18:08 +0200 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2023-06-01 12:20:23 +0200 |
commit | 505f771bd855e929d50844668dc79aa35d92dea8 (patch) | |
tree | 6e3d4c0cd3fd8ad6bd22fc2b0bbf4c4f0862d124 /recipes-kernel/most/files | |
parent | 98326a92c016606d71fd48cb1738247f3a0b58b4 (diff) |
Fix most compilation for YP 3.1.25 uprevlamprey_12.1.20lamprey_12.1.19lamprey_12.1.18lamprey_12.1.17lamprey_12.1.16lamprey_12.1.15lamprey_12.1.14lamprey_12.1.13lamprey_12.1.12lamprey/12.1.20lamprey/12.1.19lamprey/12.1.18lamprey/12.1.17lamprey/12.1.16lamprey/12.1.15lamprey/12.1.14lamprey/12.1.13lamprey/12.1.1212.1.2012.1.1912.1.1812.1.1712.1.1612.1.1512.1.1412.1.1312.1.12lamprey
A change was backported to the stable series and we now need to adapt the
version check.
v3: Removed duplicates put in by devtool and simplified the recipe.
Bug-AGL: SPEC-4802
Change-Id: I7fb54e6e344151116d7d3c0743518ca139699f3a
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'recipes-kernel/most/files')
-rw-r--r-- | recipes-kernel/most/files/0001-Fix-LINUX_VERSION_CODE-check-for-dim2_hdm.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes-kernel/most/files/0001-Fix-LINUX_VERSION_CODE-check-for-dim2_hdm.patch b/recipes-kernel/most/files/0001-Fix-LINUX_VERSION_CODE-check-for-dim2_hdm.patch new file mode 100644 index 000000000..7edaa34f9 --- /dev/null +++ b/recipes-kernel/most/files/0001-Fix-LINUX_VERSION_CODE-check-for-dim2_hdm.patch @@ -0,0 +1,23 @@ +From 18aeaf3abf9080174a7a820ac1a50839e6d6b0ca Mon Sep 17 00:00:00 2001 +From: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> +Date: Wed, 31 May 2023 23:12:59 +0200 +Subject: [PATCH] Fix LINUX_VERSION_CODE check for dim2_hdm + +Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> +--- + driver/hdm-dim2/dim2_hdm.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/driver/hdm-dim2/dim2_hdm.c b/driver/hdm-dim2/dim2_hdm.c +index fc02c6b..c1a2e71 100644 +--- a/hdm-dim2/dim2_hdm.c ++++ b/hdm-dim2/dim2_hdm.c +@@ -54,7 +54,7 @@ MODULE_PARM_DESC(fcnt, "Num of frames per sub-buffer for sync channels as a powe + static DEFINE_SPINLOCK(dim_lock); + + static void dim2_tasklet_fn(unsigned long data); +-#if LINUX_VERSION_CODE < KERNEL_VERSION(5,9,0) ++#if LINUX_VERSION_CODE < KERNEL_VERSION(5,4,235) + static DECLARE_TASKLET(dim2_tasklet, dim2_tasklet_fn, 0); + #else + static DECLARE_TASKLET_OLD(dim2_tasklet, dim2_tasklet_fn); |