diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-25 18:36:44 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-25 18:36:44 -0500 |
commit | cc38e519132f62d52db0a04d2eaed0d7c52fb165 (patch) | |
tree | 35baaba355d6fbc1d43e9ca12278156f3eeab910 /include/linux | |
parent | 949db153b6466c6f7cad5a427ecea94985927311 (diff) | |
parent | b8bd759acd05281abf88cddef30c57313c109697 (diff) |
Merge branch 'acpi-scan' into acpi-cleanup
The following commits depend on the 'acpi-scan' material.
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/acpi.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 3994d7790b23..8c1d6f2a2193 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h | |||
@@ -526,9 +526,14 @@ static inline int acpi_subsys_resume_early(struct device *dev) { return 0; } | |||
526 | #endif | 526 | #endif |
527 | 527 | ||
528 | #if defined(CONFIG_ACPI) && defined(CONFIG_PM) | 528 | #if defined(CONFIG_ACPI) && defined(CONFIG_PM) |
529 | struct acpi_device *acpi_dev_pm_get_node(struct device *dev); | ||
529 | int acpi_dev_pm_attach(struct device *dev, bool power_on); | 530 | int acpi_dev_pm_attach(struct device *dev, bool power_on); |
530 | void acpi_dev_pm_detach(struct device *dev, bool power_off); | 531 | void acpi_dev_pm_detach(struct device *dev, bool power_off); |
531 | #else | 532 | #else |
533 | static inline struct acpi_device *acpi_dev_pm_get_node(struct device *dev) | ||
534 | { | ||
535 | return NULL; | ||
536 | } | ||
532 | static inline int acpi_dev_pm_attach(struct device *dev, bool power_on) | 537 | static inline int acpi_dev_pm_attach(struct device *dev, bool power_on) |
533 | { | 538 | { |
534 | return -ENODEV; | 539 | return -ENODEV; |