Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
From 5a514f6a6bb1c49bdbaf8eabc1776f54851227af Mon Sep 17 00:00:00 2001
|
||||
From: Ryan Eatmon <reatmon@ti.com>
|
||||
Date: Sun, 4 Aug 2024 11:17:28 -0500
|
||||
Subject: [PATCH] debugss_kmodule: Add include for mod_devicetable.h
|
||||
|
||||
Add include for <linux/mod_devicetable.h> to fix compile error:
|
||||
|
||||
git/debugss_module/debugss-mod/debugss_kmodule.c:1149:34: error:
|
||||
array type has incomplete element type 'struct of_device_id'
|
||||
|
||||
Upstream-Status: Inactive-Upstream
|
||||
|
||||
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
|
||||
---
|
||||
debugss_kmodule.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/debugss_kmodule.c b/debugss_kmodule.c
|
||||
index 6fac61d..9e084eb 100644
|
||||
--- a/debugss_kmodule.c
|
||||
+++ b/debugss_kmodule.c
|
||||
@@ -26,6 +26,8 @@
|
||||
#include <linux/of_device.h>
|
||||
#include "debugss_kmodule.h"
|
||||
|
||||
+#include <linux/mod_devicetable.h>
|
||||
+
|
||||
/* un-comment the line below to enable printing for kernel debug messages */
|
||||
//#define DEBUGSS_DRV_DEBUG
|
||||
|
||||
--
|
||||
2.17.1
|
||||
@@ -0,0 +1,58 @@
|
||||
From aaddf1fa8b92db23ae2ebc83826c2bb5f5c87c35 Mon Sep 17 00:00:00 2001
|
||||
From: Ryan Eatmon <reatmon@ti.com>
|
||||
Date: Thu, 3 Oct 2024 14:25:18 -0500
|
||||
Subject: [PATCH] debugss_kmodule: kernel 6.11 changed return value for remove
|
||||
slot
|
||||
|
||||
In kernel version 6.11 the function footprint changed for the remove
|
||||
slot to return a void instead of an int. [1]
|
||||
|
||||
Add ifdef checking code to look for kernel version and pick the correct
|
||||
return code.
|
||||
|
||||
[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/include/linux/platform_device.h?id=0edb555a65d1ef047a9805051c36922b52a38a9d
|
||||
|
||||
Upstream-Status: Inactive-Upstream [lastcommit: 2021-04-20]
|
||||
|
||||
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
|
||||
---
|
||||
debugss_kmodule.c | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/debugss_kmodule.c b/debugss_kmodule.c
|
||||
index 9e084eb..4191be8 100644
|
||||
--- a/debugss_kmodule.c
|
||||
+++ b/debugss_kmodule.c
|
||||
@@ -27,6 +27,7 @@
|
||||
#include "debugss_kmodule.h"
|
||||
|
||||
#include <linux/mod_devicetable.h>
|
||||
+#include <linux/version.h>
|
||||
|
||||
/* un-comment the line below to enable printing for kernel debug messages */
|
||||
//#define DEBUGSS_DRV_DEBUG
|
||||
@@ -1132,7 +1133,11 @@ static int dra7xx_debugss_probe(struct platform_device *pdev)
|
||||
return retval;
|
||||
}
|
||||
|
||||
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(6, 11, 0))
|
||||
static int dra7xx_debugss_remove(struct platform_device *pdev)
|
||||
+#else
|
||||
+static void dra7xx_debugss_remove(struct platform_device *pdev)
|
||||
+#endif
|
||||
{
|
||||
__D("%s:\n",__FUNCTION__);
|
||||
|
||||
@@ -1145,7 +1150,9 @@ static int dra7xx_debugss_remove(struct platform_device *pdev)
|
||||
/* Un-prepare debugSS clock */
|
||||
clk_disable_unprepare(sys_clk_in1);
|
||||
|
||||
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(6, 11, 0))
|
||||
return 0;
|
||||
+#endif
|
||||
}
|
||||
|
||||
static const struct of_device_id dra7xx_debugss_of_match[] = {
|
||||
--
|
||||
2.17.1
|
||||
|
||||
Reference in New Issue
Block a user