aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-07-13 12:13:23 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-07-13 12:43:15 -0400
commit07d19ffce54faa5591954bab3644b6f2ff31640c (patch)
tree560f06766b5a6d2122e976fe288b5b20a7d57464
parentdda7b73cdf9dc5bd52c3adad42cb5e6ab4639883 (diff)
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: Axel Lin <axel.lin@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
-rw-r--r--drivers/input/misc/atlas_btns.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/misc/atlas_btns.c b/drivers/input/misc/atlas_btns.c
index dfaa9a045ed8..7d5360869047 100644
--- a/drivers/input/misc/atlas_btns.c
+++ b/drivers/input/misc/atlas_btns.c
@@ -145,6 +145,7 @@ MODULE_DEVICE_TABLE(acpi, atlas_device_ids);
145static struct acpi_driver atlas_acpi_driver = { 145static struct acpi_driver atlas_acpi_driver = {
146 .name = ACPI_ATLAS_NAME, 146 .name = ACPI_ATLAS_NAME,
147 .class = ACPI_ATLAS_CLASS, 147 .class = ACPI_ATLAS_CLASS,
148 .owner = THIS_MODULE,
148 .ids = atlas_device_ids, 149 .ids = atlas_device_ids,
149 .ops = { 150 .ops = {
150 .add = atlas_acpi_button_add, 151 .add = atlas_acpi_button_add,