diff --git a/srcpkgs/tuxedo-drivers/patches/kernel6.10.patch b/srcpkgs/tuxedo-drivers/patches/kernel6.10.patch new file mode 100644 index 00000000000..e3441403ed2 --- /dev/null +++ b/srcpkgs/tuxedo-drivers/patches/kernel6.10.patch @@ -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 = { diff --git a/srcpkgs/tuxedo-drivers/template b/srcpkgs/tuxedo-drivers/template index d760bdc63e6..e9ecb3e8f79 100644 --- a/srcpkgs/tuxedo-drivers/template +++ b/srcpkgs/tuxedo-drivers/template @@ -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 "