device_pm.c (8a90bb5116889e98008fbc8178fc2a77bb51df4a) | device_pm.c (45f0a85c8258741d11bda25c0a5669c06267204a) |
---|---|
1/* 2 * drivers/acpi/device_pm.c - ACPI device power management routines. 3 * 4 * Copyright (C) 2012, Intel Corp. 5 * Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com> 6 * 7 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8 * --- 872 unchanged lines hidden (view full) --- 881EXPORT_SYMBOL_GPL(acpi_subsys_resume_early); 882#endif /* CONFIG_PM_SLEEP */ 883 884static struct dev_pm_domain acpi_general_pm_domain = { 885 .ops = { 886#ifdef CONFIG_PM_RUNTIME 887 .runtime_suspend = acpi_subsys_runtime_suspend, 888 .runtime_resume = acpi_subsys_runtime_resume, | 1/* 2 * drivers/acpi/device_pm.c - ACPI device power management routines. 3 * 4 * Copyright (C) 2012, Intel Corp. 5 * Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com> 6 * 7 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8 * --- 872 unchanged lines hidden (view full) --- 881EXPORT_SYMBOL_GPL(acpi_subsys_resume_early); 882#endif /* CONFIG_PM_SLEEP */ 883 884static struct dev_pm_domain acpi_general_pm_domain = { 885 .ops = { 886#ifdef CONFIG_PM_RUNTIME 887 .runtime_suspend = acpi_subsys_runtime_suspend, 888 .runtime_resume = acpi_subsys_runtime_resume, |
889 .runtime_idle = pm_generic_runtime_idle, | |
890#endif 891#ifdef CONFIG_PM_SLEEP 892 .prepare = acpi_subsys_prepare, 893 .suspend_late = acpi_subsys_suspend_late, 894 .resume_early = acpi_subsys_resume_early, 895 .poweroff_late = acpi_subsys_suspend_late, 896 .restore_early = acpi_subsys_resume_early, 897#endif --- 130 unchanged lines hidden --- | 889#endif 890#ifdef CONFIG_PM_SLEEP 891 .prepare = acpi_subsys_prepare, 892 .suspend_late = acpi_subsys_suspend_late, 893 .resume_early = acpi_subsys_resume_early, 894 .poweroff_late = acpi_subsys_suspend_late, 895 .restore_early = acpi_subsys_resume_early, 896#endif --- 130 unchanged lines hidden --- |