summaryrefslogtreecommitdiffstats
path: root/include/acpi
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2012-06-27 23:26:26 +0200
committerRafael J. Wysocki <rjw@sisk.pl>2012-07-01 13:31:00 +0200
commite8110b64af8b7cce96d1878276770c76cb9c01d5 (patch)
tree8a433a4fda149d49a59d34d7e26022f6d5dc36fd /include/acpi
parent167cffb646aa4a7f3267b07eae1af16b54bc0e9b (diff)
downloadlinux-e8110b64af8b7cce96d1878276770c76cb9c01d5.tar.gz
linux-e8110b64af8b7cce96d1878276770c76cb9c01d5.tar.bz2
linux-e8110b64af8b7cce96d1878276770c76cb9c01d5.zip
ACPI: Use struct dev_pm_ops for power management in processor driver
Make the ACPI processor driver define its PM callbacks through a struct dev_pm_ops object rather than by using legacy PM hooks in struct acpi_device_ops. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'include/acpi')
-rw-r--r--include/acpi/processor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/acpi/processor.h b/include/acpi/processor.h
index 8a1894a6eba2..ac3bff6fbbb0 100644
--- a/include/acpi/processor.h
+++ b/include/acpi/processor.h
@@ -334,8 +334,8 @@ int acpi_processor_cst_has_changed(struct acpi_processor *pr);
int acpi_processor_hotplug(struct acpi_processor *pr);
int acpi_processor_power_exit(struct acpi_processor *pr,
struct acpi_device *device);
-int acpi_processor_suspend(struct acpi_device * device);
-int acpi_processor_resume(struct acpi_device * device);
+int acpi_processor_suspend(struct device *dev);
+int acpi_processor_resume(struct device *dev);
extern struct cpuidle_driver acpi_idle_driver;
/* in processor_thermal.c */