diff options
author | Alan Jenkins <alan-jenkins@tuffmail.co.uk> | 2009-12-03 08:44:55 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-12-09 21:54:31 +0100 |
commit | eacec3031d1f444a618cf2d023d52f088cf82a7e (patch) | |
tree | 9bc4a9b889a8afe426c1df4a523f16883e10d447 /drivers | |
parent | eeepc-laptop: Remove uneccesary acpi_disabled check (diff) | |
download | linux-eacec3031d1f444a618cf2d023d52f088cf82a7e.tar.xz linux-eacec3031d1f444a618cf2d023d52f088cf82a7e.zip |
eeepc-laptop: set acpi_driver.owner
The owner field provides the link between drivers and modules in sysfs,
but no ACPI driver was setting it.
After setting the owner field, we can see which module provides which
driver and vice versa by looking at /sys/bus/acpi/driver/*/module and
/sys/module/*/drivers/acpi:*.
Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/platform/x86/eeepc-laptop.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/eeepc-laptop.c b/drivers/platform/x86/eeepc-laptop.c index f5efe8da5e7a..1c04c877b824 100644 --- a/drivers/platform/x86/eeepc-laptop.c +++ b/drivers/platform/x86/eeepc-laptop.c @@ -214,6 +214,7 @@ MODULE_DEVICE_TABLE(acpi, eeepc_device_ids); static struct acpi_driver eeepc_hotk_driver = { .name = EEEPC_HOTK_NAME, .class = EEEPC_HOTK_CLASS, + .owner = THIS_MODULE, .ids = eeepc_device_ids, .flags = ACPI_DRIVER_ALL_NOTIFY_EVENTS, .ops = { |