X-Git-Url: http://git.samba.org/samba.git/?a=blobdiff_plain;f=include%2Facpi%2Facpi_bus.h;h=2f1c68c7a7270ea7098a39509690eb5d03614c1d;hb=e5a9e8e6890d9b9c7a0f25b03ffdaf28614a9a4c;hp=19c3ead2a90bb768f98e077ff91c050ae290e737;hpb=4c5cdb1e1f2a502069f57a60b5c6b97b8106c73c;p=sfrench%2Fcifs-2.6.git diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index 19c3ead2a90b..2f1c68c7a727 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h @@ -168,7 +168,8 @@ struct acpi_device_flags { u32 power_manageable:1; u32 performance_manageable:1; u32 wake_capable:1; /* Wakeup(_PRW) supported? */ - u32 reserved:20; + u32 force_power_state:1; + u32 reserved:19; }; /* File System */ @@ -318,8 +319,13 @@ struct acpi_bus_event { u32 data; }; -extern struct kset acpi_subsys; +extern struct kobject *acpi_kobj; extern int acpi_bus_generate_netlink_event(const char*, const char*, u8, int); +void acpi_bus_private_data_handler(acpi_handle, u32, void *); +int acpi_bus_get_private_data(acpi_handle, void **); +extern int acpi_notifier_call_chain(struct acpi_device *, u32, u32); +extern int register_acpi_notifier(struct notifier_block *); +extern int unregister_acpi_notifier(struct notifier_block *); /* * External Functions */