summaryrefslogtreecommitdiffstats
path: root/include/linux/acpi.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2012-12-07 23:14:11 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2012-12-07 23:14:11 +0100
commit8ab788f00263e886a5ac74b51ee0a226e4363795 (patch)
tree4fb0e0a6c39cf991c415de4148728bfddca029f7 /include/linux/acpi.h
parentbf58cdffac931ff387c657395742a737837b93ca (diff)
parentd71f2f88825b31553881944959962b1871099e1f (diff)
Merge branch 'acpi-dev-pm'
* acpi-dev-pm: ACPI / PM: Fix header of acpi_dev_pm_detach() in acpi.h
Diffstat (limited to 'include/linux/acpi.h')
-rw-r--r--include/linux/acpi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h
index 0f8022baf3f..c33fa3ce9b7 100644
--- a/include/linux/acpi.h
+++ b/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)
{