Browse Source

Merge branch 'acpi-dev-pm'

* acpi-dev-pm:
  ACPI / PM: Fix header of acpi_dev_pm_detach() in acpi.h
Rafael J. Wysocki 12 years ago
parent
commit
8ab788f002
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/linux/acpi.h

+ 1 - 1
include/linux/acpi.h

@@ -511,7 +511,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)
 {