diff options
author | Zhang Rui <rui.zhang@intel.com> | 2007-06-18 23:40:03 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-07-03 14:50:58 -0400 |
commit | 864bdfb912e372670b5b2541dac9d273a4a7722a (patch) | |
tree | 6f3bd48b2ea92130a2f2b8add2c393cb01151ac7 /include/acpi/acpi_bus.h | |
parent | 872aad45d6174570dd2e1defc3efee50f2cfcc72 (diff) |
ACPI: Export events via generic netlink
Upon ACPI events, send an "acpi_event" via Generic Netlink.
This is in addition to /proc/acpi/event, which remains intact for now.
Thanks to Jamal for his great help.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/acpi_bus.h')
-rw-r--r-- | include/acpi/acpi_bus.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index c6fa5e023bc7..5e3dcf3299bf 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h | |||
@@ -321,7 +321,8 @@ struct acpi_bus_event { | |||
321 | }; | 321 | }; |
322 | 322 | ||
323 | extern struct kset acpi_subsys; | 323 | extern struct kset acpi_subsys; |
324 | 324 | extern int acpi_bus_generate_genetlink_event(struct acpi_device *device, | |
325 | u8 type, int data); | ||
325 | /* | 326 | /* |
326 | * External Functions | 327 | * External Functions |
327 | */ | 328 | */ |