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