From: Rafael J. Wysocki Date: Wed, 5 Dec 2012 10:59:22 +0000 (+0100) Subject: ACPI / PM: Fix header of acpi_dev_pm_detach() in acpi.h X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d71f2f88825b31553881944959962b1871099e1f;p=linux-beck.git 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 --- 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; } #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) {