ACPI / PM: Fix header of acpi_dev_pm_detach() in acpi.h
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 5 Dec 2012 10:59:22 +0000 (11:59 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 5 Dec 2012 10:59:22 +0000 (11:59 +0100)
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>
include/linux/acpi.h

index 28ba643c92c15233bfdc4aa374c9496d766b6742..79345cd5ac20fae8d16472344afdc90669e5bb31 100644 (file)
@@ -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)
 {