diff options
author | Zhang Rui <rui.zhang@intel.com> | 2008-01-25 01:48:06 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-02-07 03:22:57 -0500 |
commit | 9ee85241fdaab358dff1d8647f20a478cfa512a1 (patch) | |
tree | 8ecac98ed4d4683d5d9db0bf69e1a4a1532cf2ec /include/acpi | |
parent | ba5e1223422368fd2f4dbb0745f5fbb5fe9a65f1 (diff) |
ACPI: create notifier chain to get hotkey events to graphics driver
Kernel mode graphics drivers need this ACPI notifier chaine
so that they can get notified upon hotkey events.
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index fb7171b1bd22..3f9f1417ff09 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h | |||
@@ -321,6 +321,9 @@ struct acpi_bus_event { | |||
321 | 321 | ||
322 | extern struct kobject *acpi_kobj; | 322 | extern struct kobject *acpi_kobj; |
323 | extern int acpi_bus_generate_netlink_event(const char*, const char*, u8, int); | 323 | extern int acpi_bus_generate_netlink_event(const char*, const char*, u8, int); |
324 | extern int acpi_notifier_call_chain(struct acpi_device *, u32, u32); | ||
325 | extern int register_acpi_notifier(struct notifier_block *); | ||
326 | extern int unregister_acpi_notifier(struct notifier_block *); | ||
324 | /* | 327 | /* |
325 | * External Functions | 328 | * External Functions |
326 | */ | 329 | */ |