diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2012-12-05 05:59:22 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2012-12-05 05:59:22 -0500 |
commit | d71f2f88825b31553881944959962b1871099e1f (patch) | |
tree | 733aa5f290ee061e2835d8af1ef31363eeee8cee /include/linux/acpi.h | |
parent | b88ce2a41562d1a9554f209e0f31a32d9f473794 (diff) |
ACPI / PM: Fix header of acpi_dev_pm_detach() in acpi.h
The header of acpi_dev_pm_detach() in include/linux/acpi.h has an
incorrect return type, which should be void. Fix that.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/acpi.h')
-rw-r--r-- | include/linux/acpi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 28ba643c92c1..79345cd5ac20 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h | |||
@@ -459,7 +459,7 @@ static inline int acpi_subsys_resume_early(struct device *dev) { return 0; } | |||
459 | 459 | ||
460 | #if defined(CONFIG_ACPI) && defined(CONFIG_PM) | 460 | #if defined(CONFIG_ACPI) && defined(CONFIG_PM) |
461 | int acpi_dev_pm_attach(struct device *dev, bool power_on); | 461 | int acpi_dev_pm_attach(struct device *dev, bool power_on); |
462 | int acpi_dev_pm_detach(struct device *dev, bool power_off); | 462 | void acpi_dev_pm_detach(struct device *dev, bool power_off); |
463 | #else | 463 | #else |
464 | static inline int acpi_dev_pm_attach(struct device *dev, bool power_on) | 464 | static inline int acpi_dev_pm_attach(struct device *dev, bool power_on) |
465 | { | 465 | { |