mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-17 22:57:01 +02:00
tuxedo-drivers: fix building on kernel 6.10
This commit is contained in:
parent
6210f4bae8
commit
bfdd23904d
2 changed files with 13 additions and 1 deletions
12
srcpkgs/tuxedo-drivers/patches/kernel6.10.patch
Normal file
12
srcpkgs/tuxedo-drivers/patches/kernel6.10.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- a/src/clevo_acpi.c
|
||||
+++ b/src/clevo_acpi.c
|
||||
@@ -248,7 +248,9 @@ static const struct acpi_device_id clevo_acpi_device_ids[] = {
|
||||
static struct acpi_driver clevo_acpi_driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.class = DRIVER_NAME,
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 10, 0)
|
||||
.owner = THIS_MODULE,
|
||||
+#endif
|
||||
.ids = clevo_acpi_device_ids,
|
||||
.flags = ACPI_DRIVER_ALL_NOTIFY_EVENTS,
|
||||
.ops = {
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'tuxedo-drivers'
|
||||
pkgname=tuxedo-drivers
|
||||
version=4.6.1
|
||||
revision=1
|
||||
revision=2
|
||||
depends="dkms"
|
||||
short_desc="TUXEDO hardware drivers"
|
||||
maintainer="newbluemoon <blaumolch@mailbox.org>"
|
||||
|
|
Loading…
Add table
Reference in a new issue