diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2012-12-05 11:59:22 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2012-12-05 11:59:22 +0100 |
commit | d71f2f88825b31553881944959962b1871099e1f (patch) | |
tree | 733aa5f290ee061e2835d8af1ef31363eeee8cee /include/linux/acpi.h | |
parent | b88ce2a41562d1a9554f209e0f31a32d9f473794 (diff) | |
download | op-kernel-dev-d71f2f88825b31553881944959962b1871099e1f.zip op-kernel-dev-d71f2f88825b31553881944959962b1871099e1f.tar.gz |
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 28ba643..79345cd 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; } #if defined(CONFIG_ACPI) && defined(CONFIG_PM) int acpi_dev_pm_attach(struct device *dev, bool power_on); -int acpi_dev_pm_detach(struct device *dev, bool power_off); +void acpi_dev_pm_detach(struct device *dev, bool power_off); #else static inline int acpi_dev_pm_attach(struct device *dev, bool power_on) { |