diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-23 12:32:11 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-23 12:32:11 -0400 |
| commit | c11f6c82581e8be4e1829c677db54e7f55cebece (patch) | |
| tree | 1a116241b0831ded998aabe800bdc24104cbd826 /include/linux | |
| parent | 40aba218969914d1b225e742617adb921cf94eae (diff) | |
| parent | 193a6dec1c0246a80b6d0101e4f351ccf877bcac (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: (119 commits)
ACPI: don't pass handle for fixed hardware notifications
ACPI: remove null pointer checks in deferred execution path
ACPI: simplify deferred execution path
acerhdf: additional BIOS versions
acerhdf: convert to dev_pm_ops
acerhdf: fix fan control for AOA150 model
thermal: add missing Kconfig dependency
acpi: switch /proc/acpi/{debug_layer,debug_level} to seq_file
hp-wmi: fix rfkill memory leak on unload
ACPI: remove unnecessary #ifdef CONFIG_DMI
ACPI: linux/acpi.h should not include linux/dmi.h
hwmon driver for ACPI 4.0 power meters
topstar-laptop: add new driver for hotkeys support on Topstar N01
thinkpad_acpi: fix rfkill memory leak on unload
thinkpad-acpi: report brightness events when required
thinkpad-acpi: don't poll by default any of the reserved hotkeys
thinkpad-acpi: Fix procfs hotkey reset command
thinkpad-acpi: deprecate hotkey_bios_mask
thinkpad-acpi: hotkey poll fixes
thinkpad-acpi: be more strict when detecting a ThinkPad
...
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/acpi.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 34321cfffeab..dfcd920c3e54 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h | |||
| @@ -41,8 +41,6 @@ | |||
| 41 | #include <acpi/acpi_drivers.h> | 41 | #include <acpi/acpi_drivers.h> |
| 42 | #include <acpi/acpi_numa.h> | 42 | #include <acpi/acpi_numa.h> |
| 43 | #include <asm/acpi.h> | 43 | #include <asm/acpi.h> |
| 44 | #include <linux/dmi.h> | ||
| 45 | |||
| 46 | 44 | ||
| 47 | enum acpi_irq_model_id { | 45 | enum acpi_irq_model_id { |
| 48 | ACPI_IRQ_MODEL_PIC = 0, | 46 | ACPI_IRQ_MODEL_PIC = 0, |
| @@ -219,10 +217,8 @@ static inline int acpi_video_display_switch_support(void) | |||
| 219 | #endif /* defined(CONFIG_ACPI_VIDEO) || defined(CONFIG_ACPI_VIDEO_MODULE) */ | 217 | #endif /* defined(CONFIG_ACPI_VIDEO) || defined(CONFIG_ACPI_VIDEO_MODULE) */ |
| 220 | 218 | ||
| 221 | extern int acpi_blacklisted(void); | 219 | extern int acpi_blacklisted(void); |
| 222 | #ifdef CONFIG_DMI | ||
| 223 | extern void acpi_dmi_osi_linux(int enable, const struct dmi_system_id *d); | 220 | extern void acpi_dmi_osi_linux(int enable, const struct dmi_system_id *d); |
| 224 | extern int acpi_osi_setup(char *str); | 221 | extern int acpi_osi_setup(char *str); |
| 225 | #endif | ||
| 226 | 222 | ||
| 227 | #ifdef CONFIG_ACPI_NUMA | 223 | #ifdef CONFIG_ACPI_NUMA |
| 228 | int acpi_get_pxm(acpi_handle handle); | 224 | int acpi_get_pxm(acpi_handle handle); |
| @@ -292,7 +288,10 @@ void __init acpi_s4_no_nvs(void); | |||
| 292 | extern acpi_status acpi_pci_osc_control_set(acpi_handle handle, u32 flags); | 288 | extern acpi_status acpi_pci_osc_control_set(acpi_handle handle, u32 flags); |
| 293 | extern void acpi_early_init(void); | 289 | extern void acpi_early_init(void); |
| 294 | 290 | ||
| 295 | #else /* CONFIG_ACPI */ | 291 | #else /* !CONFIG_ACPI */ |
| 292 | |||
| 293 | #define acpi_disabled 1 | ||
| 294 | |||
| 296 | static inline void acpi_early_init(void) { } | 295 | static inline void acpi_early_init(void) { } |
| 297 | 296 | ||
| 298 | static inline int early_acpi_boot_init(void) | 297 | static inline int early_acpi_boot_init(void) |
| @@ -331,5 +330,11 @@ static inline int acpi_check_mem_region(resource_size_t start, | |||
| 331 | return 0; | 330 | return 0; |
| 332 | } | 331 | } |
| 333 | 332 | ||
| 333 | struct acpi_table_header; | ||
| 334 | static inline int acpi_table_parse(char *id, | ||
| 335 | int (*handler)(struct acpi_table_header *)) | ||
| 336 | { | ||
| 337 | return -1; | ||
| 338 | } | ||
| 334 | #endif /* !CONFIG_ACPI */ | 339 | #endif /* !CONFIG_ACPI */ |
| 335 | #endif /*_LINUX_ACPI_H*/ | 340 | #endif /*_LINUX_ACPI_H*/ |
