diff options
author | Len Brown <len.brown@intel.com> | 2009-09-19 01:45:22 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-09-19 01:45:22 -0400 |
commit | 985f38781d19101aba121df423f92c87b208c6df (patch) | |
tree | 21b10413b6e24c0eaf5c3b2432e936749a672644 /include/acpi/acpi_bus.h | |
parent | d093d70a81b08673d1577ad73419998f02be9d29 (diff) | |
parent | c9766237afa92e8d7f27bbcd4964f1b43fa0bce8 (diff) |
Merge branch 'acpica' into release
Diffstat (limited to 'include/acpi/acpi_bus.h')
-rw-r--r-- | include/acpi/acpi_bus.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index ca59ee9cc651..af5905eca06f 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h | |||
@@ -171,17 +171,15 @@ struct acpi_device_dir { | |||
171 | 171 | ||
172 | typedef char acpi_bus_id[8]; | 172 | typedef char acpi_bus_id[8]; |
173 | typedef unsigned long acpi_bus_address; | 173 | typedef unsigned long acpi_bus_address; |
174 | typedef char acpi_hardware_id[15]; | ||
175 | typedef char acpi_unique_id[9]; | ||
176 | typedef char acpi_device_name[40]; | 174 | typedef char acpi_device_name[40]; |
177 | typedef char acpi_device_class[20]; | 175 | typedef char acpi_device_class[20]; |
178 | 176 | ||
179 | struct acpi_device_pnp { | 177 | struct acpi_device_pnp { |
180 | acpi_bus_id bus_id; /* Object name */ | 178 | acpi_bus_id bus_id; /* Object name */ |
181 | acpi_bus_address bus_address; /* _ADR */ | 179 | acpi_bus_address bus_address; /* _ADR */ |
182 | acpi_hardware_id hardware_id; /* _HID */ | 180 | char *hardware_id; /* _HID */ |
183 | struct acpi_compatible_id_list *cid_list; /* _CIDs */ | 181 | struct acpica_device_id_list *cid_list; /* _CIDs */ |
184 | acpi_unique_id unique_id; /* _UID */ | 182 | char *unique_id; /* _UID */ |
185 | acpi_device_name device_name; /* Driver-determined */ | 183 | acpi_device_name device_name; /* Driver-determined */ |
186 | acpi_device_class device_class; /* " */ | 184 | acpi_device_class device_class; /* " */ |
187 | }; | 185 | }; |
@@ -312,7 +310,7 @@ struct acpi_bus_event { | |||
312 | 310 | ||
313 | extern struct kobject *acpi_kobj; | 311 | extern struct kobject *acpi_kobj; |
314 | extern int acpi_bus_generate_netlink_event(const char*, const char*, u8, int); | 312 | extern int acpi_bus_generate_netlink_event(const char*, const char*, u8, int); |
315 | void acpi_bus_private_data_handler(acpi_handle, u32, void *); | 313 | void acpi_bus_private_data_handler(acpi_handle, void *); |
316 | int acpi_bus_get_private_data(acpi_handle, void **); | 314 | int acpi_bus_get_private_data(acpi_handle, void **); |
317 | extern int acpi_notifier_call_chain(struct acpi_device *, u32, u32); | 315 | extern int acpi_notifier_call_chain(struct acpi_device *, u32, u32); |
318 | extern int register_acpi_notifier(struct notifier_block *); | 316 | extern int register_acpi_notifier(struct notifier_block *); |
@@ -325,7 +323,7 @@ extern void unregister_acpi_bus_notifier(struct notifier_block *nb); | |||
325 | */ | 323 | */ |
326 | 324 | ||
327 | int acpi_bus_get_device(acpi_handle handle, struct acpi_device **device); | 325 | int acpi_bus_get_device(acpi_handle handle, struct acpi_device **device); |
328 | void acpi_bus_data_handler(acpi_handle handle, u32 function, void *context); | 326 | void acpi_bus_data_handler(acpi_handle handle, void *context); |
329 | int acpi_bus_get_status(struct acpi_device *device); | 327 | int acpi_bus_get_status(struct acpi_device *device); |
330 | int acpi_bus_get_power(acpi_handle handle, int *state); | 328 | int acpi_bus_get_power(acpi_handle handle, int *state); |
331 | int acpi_bus_set_power(acpi_handle handle, int state); | 329 | int acpi_bus_set_power(acpi_handle handle, int state); |