aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi/processor.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2012-06-27 17:26:26 -0400
committerRafael J. Wysocki <rjw@sisk.pl>2012-07-01 07:31:00 -0400
commite8110b64af8b7cce96d1878276770c76cb9c01d5 (patch)
tree8a433a4fda149d49a59d34d7e26022f6d5dc36fd /include/acpi/processor.h
parent167cffb646aa4a7f3267b07eae1af16b54bc0e9b (diff)
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/processor.h')
-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);
334int acpi_processor_hotplug(struct acpi_processor *pr); 334int acpi_processor_hotplug(struct acpi_processor *pr);
335int acpi_processor_power_exit(struct acpi_processor *pr, 335int acpi_processor_power_exit(struct acpi_processor *pr,
336 struct acpi_device *device); 336 struct acpi_device *device);
337int acpi_processor_suspend(struct acpi_device * device); 337int acpi_processor_suspend(struct device *dev);
338int acpi_processor_resume(struct acpi_device * device); 338int acpi_processor_resume(struct device *dev);
339extern struct cpuidle_driver acpi_idle_driver; 339extern struct cpuidle_driver acpi_idle_driver;
340 340
341/* in processor_thermal.c */ 341/* in processor_thermal.c */