12 lines
393 B
Diff
12 lines
393 B
Diff
--- 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 = {
|