mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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 <[email protected]> Signed-off-by: Len Brown <[email protected]>
This commit is contained in:
parent
872aad45d6
commit
864bdfb912
3 changed files with 165 additions and 8 deletions
|
|
@ -321,7 +321,8 @@ struct acpi_bus_event {
|
|||
};
|
||||
|
||||
extern struct kset acpi_subsys;
|
||||
|
||||
extern int acpi_bus_generate_genetlink_event(struct acpi_device *device,
|
||||
u8 type, int data);
|
||||
/*
|
||||
* External Functions
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue