diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-05 14:16:25 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-05 14:16:25 -0400 |
commit | 32fb6c17566ec66de87324a834c7776f40e35e78 (patch) | |
tree | 87b8ed5d66495536fbb452255c3eacd1cfb0c43a /drivers/acpi/internal.h | |
parent | 45e36c1666aa6c8b0c538abcf984b336184d8c3f (diff) | |
parent | 7ec0a7290797f57b780f792d12f4bcc19c83aa4f (diff) |
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (140 commits)
ACPI: processor: use .notify method instead of installing handler directly
ACPI: button: use .notify method instead of installing handler directly
ACPI: support acpi_device_ops .notify methods
toshiba-acpi: remove MAINTAINERS entry
ACPI: battery: asynchronous init
acer-wmi: Update copyright notice & documentation
acer-wmi: Cleanup the failure cleanup handling
acer-wmi: Blacklist Acer Aspire One
video: build fix
thinkpad-acpi: rework brightness support
thinkpad-acpi: enhanced debugging messages for the fan subdriver
thinkpad-acpi: enhanced debugging messages for the hotkey subdriver
thinkpad-acpi: enhanced debugging messages for rfkill subdrivers
thinkpad-acpi: restrict access to some firmware LEDs
thinkpad-acpi: remove HKEY disable functionality
thinkpad-acpi: add new debug helpers and warn of deprecated atts
thinkpad-acpi: add missing log levels
thinkpad-acpi: cleanup debug helpers
thinkpad-acpi: documentation cleanup
thinkpad-acpi: drop ibm-acpi alias
...
Diffstat (limited to 'drivers/acpi/internal.h')
-rw-r--r-- | drivers/acpi/internal.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/drivers/acpi/internal.h b/drivers/acpi/internal.h new file mode 100644 index 000000000000..11a69b53004e --- /dev/null +++ b/drivers/acpi/internal.h | |||
@@ -0,0 +1,43 @@ | |||
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 | int acpi_wakeup_device_init(void); | ||
26 | |||
27 | /* -------------------------------------------------------------------------- | ||
28 | Embedded Controller | ||
29 | -------------------------------------------------------------------------- */ | ||
30 | int acpi_ec_init(void); | ||
31 | int acpi_ec_ecdt_probe(void); | ||
32 | int acpi_boot_ec_enable(void); | ||
33 | |||
34 | /*-------------------------------------------------------------------------- | ||
35 | Suspend/Resume | ||
36 | -------------------------------------------------------------------------- */ | ||
37 | extern int acpi_sleep_init(void); | ||
38 | |||
39 | #ifdef CONFIG_ACPI_SLEEP | ||
40 | int acpi_sleep_proc_init(void); | ||
41 | #else | ||
42 | static inline int acpi_sleep_proc_init(void) { return 0; } | ||
43 | #endif | ||