mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2024-11-15 03:34:01 +01:00
Update clevo_acpi.c for Linux 6.10
The upstream kernel removed the owner field of `struct acpi_driver` in version 6.10 (cc85f9c05b
). Fix the resulting compile error by removing the now-obsolete assignment to `.owner` in kernel 6.10 and later.
This commit is contained in:
parent
403dc6a283
commit
ceaab21231
|
@ -186,7 +186,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 = {
|
||||
|
|
Loading…
Reference in a new issue