linux-surface/pkg/fedora/kernel-surface/patches/0005-filter-modules.patch

27 lines
809 B
Diff

From bb654591f82503f9e3c319902af2a2b64c18ae50 Mon Sep 17 00:00:00 2001
From: Dorian Stoll <dorian.stoll@tmsp.io>
Date: Sat, 13 Jan 2024 12:30:02 +0100
Subject: [PATCH] HACK: Move surface_fan and surface_temp to kernel-modules
---
redhat/fedora_files/filter-modules.sh.fedora | 3 +++
1 file changed, 3 insertions(+)
diff --git a/redhat/fedora_files/filter-modules.sh.fedora b/redhat/fedora_files/filter-modules.sh.fedora
index 2e7b79eba1d9..7ef7614cbda2 100755
--- a/redhat/fedora_files/filter-modules.sh.fedora
+++ b/redhat/fedora_files/filter-modules.sh.fedora
@@ -84,6 +84,9 @@ filter_ko() {
return 0
}
+# HACK: move surface_fan and surface_temp to kernel-modules
+singlemods="${singlemods} surface_fan surface_temp"
+
# Filter the drivers/ subsystems
for subsys in ${driverdirs}
do
--
2.43.0