Skip to content
Snippets Groups Projects
Commit 07d19ffc authored by Axel Lin's avatar Axel Lin Committed by Dmitry Torokhov
Browse files

Input: atlas_btns - adds a missing owner field for atlas_acpi_driver


The owner field provides the link between drivers and modules in sysfs.
After setting the owner field, we can see which module provides which
driver and vice versa by looking at /sys/bus/acpi/drivers/Atlas ACPI/module
and /sys/module/atlas_btns/drivers/acpi:Atlas ACPI

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent dda7b73c
No related merge requests found
...@@ -145,6 +145,7 @@ MODULE_DEVICE_TABLE(acpi, atlas_device_ids); ...@@ -145,6 +145,7 @@ MODULE_DEVICE_TABLE(acpi, atlas_device_ids);
static struct acpi_driver atlas_acpi_driver = { static struct acpi_driver atlas_acpi_driver = {
.name = ACPI_ATLAS_NAME, .name = ACPI_ATLAS_NAME,
.class = ACPI_ATLAS_CLASS, .class = ACPI_ATLAS_CLASS,
.owner = THIS_MODULE,
.ids = atlas_device_ids, .ids = atlas_device_ids,
.ops = { .ops = {
.add = atlas_acpi_button_add, .add = atlas_acpi_button_add,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment