diff options
author | Alexey Starikovskiy <astarikovskiy@suse.de> | 2007-09-26 11:43:16 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-09-27 15:50:22 -0400 |
commit | 8db85d4c9a0cc131242c80ef8456362d66561dc2 (patch) | |
tree | c5f945ed1bc8b2ff9ba099a09d737bec5c776028 /include | |
parent | 3e58ea0d31659b22ba5753f7abf3d7db346eab81 (diff) |
ACPI: Add acpi_bus_generate_event4() function
acpi_bus_generate_event() takes two strings out of passed device object.
SBS needs to supply these strings directly.
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/acpi/acpi_bus.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index 86aea44ce6d..8a388e76616 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h | |||
@@ -333,6 +333,7 @@ int acpi_bus_get_power(acpi_handle handle, int *state); | |||
333 | int acpi_bus_set_power(acpi_handle handle, int state); | 333 | int acpi_bus_set_power(acpi_handle handle, int state); |
334 | #ifdef CONFIG_ACPI_PROC_EVENT | 334 | #ifdef CONFIG_ACPI_PROC_EVENT |
335 | int acpi_bus_generate_proc_event(struct acpi_device *device, u8 type, int data); | 335 | int acpi_bus_generate_proc_event(struct acpi_device *device, u8 type, int data); |
336 | int acpi_bus_generate_proc_event4(const char *class, const char *bid, u8 type, int data); | ||
336 | int acpi_bus_receive_event(struct acpi_bus_event *event); | 337 | int acpi_bus_receive_event(struct acpi_bus_event *event); |
337 | #else | 338 | #else |
338 | static inline int acpi_bus_generate_proc_event(struct acpi_device *device, u8 type, int data) | 339 | static inline int acpi_bus_generate_proc_event(struct acpi_device *device, u8 type, int data) |