aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi/acpi_bus.h
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2009-09-19 01:45:22 -0400
committerLen Brown <len.brown@intel.com>2009-09-19 01:45:22 -0400
commit985f38781d19101aba121df423f92c87b208c6df (patch)
tree21b10413b6e24c0eaf5c3b2432e936749a672644 /include/acpi/acpi_bus.h
parentd093d70a81b08673d1577ad73419998f02be9d29 (diff)
parentc9766237afa92e8d7f27bbcd4964f1b43fa0bce8 (diff)
Merge branch 'acpica' into release
Diffstat (limited to 'include/acpi/acpi_bus.h')
-rw-r--r--include/acpi/acpi_bus.h12
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
172typedef char acpi_bus_id[8]; 172typedef char acpi_bus_id[8];
173typedef unsigned long acpi_bus_address; 173typedef unsigned long acpi_bus_address;
174typedef char acpi_hardware_id[15];
175typedef char acpi_unique_id[9];
176typedef char acpi_device_name[40]; 174typedef char acpi_device_name[40];
177typedef char acpi_device_class[20]; 175typedef char acpi_device_class[20];
178 176
179struct acpi_device_pnp { 177struct 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
313extern struct kobject *acpi_kobj; 311extern struct kobject *acpi_kobj;
314extern int acpi_bus_generate_netlink_event(const char*, const char*, u8, int); 312extern int acpi_bus_generate_netlink_event(const char*, const char*, u8, int);
315void acpi_bus_private_data_handler(acpi_handle, u32, void *); 313void acpi_bus_private_data_handler(acpi_handle, void *);
316int acpi_bus_get_private_data(acpi_handle, void **); 314int acpi_bus_get_private_data(acpi_handle, void **);
317extern int acpi_notifier_call_chain(struct acpi_device *, u32, u32); 315extern int acpi_notifier_call_chain(struct acpi_device *, u32, u32);
318extern int register_acpi_notifier(struct notifier_block *); 316extern 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
327int acpi_bus_get_device(acpi_handle handle, struct acpi_device **device); 325int acpi_bus_get_device(acpi_handle handle, struct acpi_device **device);
328void acpi_bus_data_handler(acpi_handle handle, u32 function, void *context); 326void acpi_bus_data_handler(acpi_handle handle, void *context);
329int acpi_bus_get_status(struct acpi_device *device); 327int acpi_bus_get_status(struct acpi_device *device);
330int acpi_bus_get_power(acpi_handle handle, int *state); 328int acpi_bus_get_power(acpi_handle handle, int *state);
331int acpi_bus_set_power(acpi_handle handle, int state); 329int acpi_bus_set_power(acpi_handle handle, int state);