ACPI: call init_acpi_device_notify() explicitly rather than as initcall
[linux-2.6.git] / drivers / acpi / internal.h
1 /* For use by Linux/ACPI infrastructure, not drivers */
2
3 int init_acpi_device_notify(void);
4 int acpi_scan_init(void);
5 int acpi_system_init(void);
6
7 #ifdef CONFIG_ACPI_DEBUG
8 int acpi_debug_init(void);
9 #else
10 static inline int acpi_debug_init(void) { return 0; }
11 #endif
12
13 /* --------------------------------------------------------------------------
14                                   Power Resource
15    -------------------------------------------------------------------------- */
16 int acpi_power_init(void);
17 int acpi_device_sleep_wake(struct acpi_device *dev,
18                            int enable, int sleep_state, int dev_state);
19 int acpi_enable_wakeup_device_power(struct acpi_device *dev, int sleep_state);
20 int acpi_disable_wakeup_device_power(struct acpi_device *dev);
21 int acpi_power_get_inferred_state(struct acpi_device *device);
22 int acpi_power_transition(struct acpi_device *device, int state);
23 extern int acpi_power_nocheck;
24
25 /* --------------------------------------------------------------------------
26                                   Embedded Controller
27    -------------------------------------------------------------------------- */
28 int acpi_ec_init(void);
29 int acpi_ec_ecdt_probe(void);
30 int acpi_boot_ec_enable(void);
31
32 /*--------------------------------------------------------------------------
33                                   Suspend/Resume
34   -------------------------------------------------------------------------- */
35 extern int acpi_sleep_init(void);