diff options
| author | Heikki Krogerus <heikki.krogerus@linux.intel.com> | 2014-05-15 09:40:23 -0400 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-05-20 07:23:07 -0400 |
| commit | 4cf563c5d97c83d4b2fb3a778dd7d5e362cc3e34 (patch) | |
| tree | 2f4febd682fed0794cb06b515dc3b3b1f632f69d /include/linux | |
| parent | f25c0ae2b4c41996c1a6b609132c1788a6eea080 (diff) | |
ACPI / PM: Export rest of the subsys PM callbacks
No reason for excluding the remaining ones.
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
[rjw: Rebased and exported the new acpi_subsys_complete() too.]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/acpi.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 7a8f2cd66c8b..4c007262e891 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h | |||
| @@ -554,14 +554,20 @@ static inline int acpi_subsys_runtime_resume(struct device *dev) { return 0; } | |||
| 554 | int acpi_dev_suspend_late(struct device *dev); | 554 | int acpi_dev_suspend_late(struct device *dev); |
| 555 | int acpi_dev_resume_early(struct device *dev); | 555 | int acpi_dev_resume_early(struct device *dev); |
| 556 | int acpi_subsys_prepare(struct device *dev); | 556 | int acpi_subsys_prepare(struct device *dev); |
| 557 | void acpi_subsys_complete(struct device *dev); | ||
| 557 | int acpi_subsys_suspend_late(struct device *dev); | 558 | int acpi_subsys_suspend_late(struct device *dev); |
| 558 | int acpi_subsys_resume_early(struct device *dev); | 559 | int acpi_subsys_resume_early(struct device *dev); |
| 560 | int acpi_subsys_suspend(struct device *dev); | ||
| 561 | int acpi_subsys_freeze(struct device *dev); | ||
| 559 | #else | 562 | #else |
| 560 | static inline int acpi_dev_suspend_late(struct device *dev) { return 0; } | 563 | static inline int acpi_dev_suspend_late(struct device *dev) { return 0; } |
| 561 | static inline int acpi_dev_resume_early(struct device *dev) { return 0; } | 564 | static inline int acpi_dev_resume_early(struct device *dev) { return 0; } |
| 562 | static inline int acpi_subsys_prepare(struct device *dev) { return 0; } | 565 | static inline int acpi_subsys_prepare(struct device *dev) { return 0; } |
| 566 | static inline void acpi_subsys_complete(struct device *dev) {} | ||
| 563 | static inline int acpi_subsys_suspend_late(struct device *dev) { return 0; } | 567 | static inline int acpi_subsys_suspend_late(struct device *dev) { return 0; } |
| 564 | static inline int acpi_subsys_resume_early(struct device *dev) { return 0; } | 568 | static inline int acpi_subsys_resume_early(struct device *dev) { return 0; } |
| 569 | static inline int acpi_subsys_suspend(struct device *dev) { return 0; } | ||
| 570 | static inline int acpi_subsys_freeze(struct device *dev) { return 0; } | ||
| 565 | #endif | 571 | #endif |
| 566 | 572 | ||
| 567 | #if defined(CONFIG_ACPI) && defined(CONFIG_PM) | 573 | #if defined(CONFIG_ACPI) && defined(CONFIG_PM) |
