summaryrefslogtreecommitdiffstats
path: root/include/acpi
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2007-06-19 11:40:03 +0800
committerLen Brown <len.brown@intel.com>2007-07-03 14:50:58 -0400
commit864bdfb912e372670b5b2541dac9d273a4a7722a (patch)
tree6f3bd48b2ea92130a2f2b8add2c393cb01151ac7 /include/acpi
parent872aad45d6174570dd2e1defc3efee50f2cfcc72 (diff)
downloadlinux-864bdfb912e372670b5b2541dac9d273a4a7722a.tar.gz
linux-864bdfb912e372670b5b2541dac9d273a4a7722a.tar.bz2
linux-864bdfb912e372670b5b2541dac9d273a4a7722a.zip
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')
-rw-r--r--include/acpi/acpi_bus.h3
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 {
};
extern struct kset acpi_subsys;
-
+extern int acpi_bus_generate_genetlink_event(struct acpi_device *device,
+ u8 type, int data);
/*
* External Functions
*/