diff options
Diffstat (limited to 'drivers/acpi/sleep.c')
-rw-r--r-- | drivers/acpi/sleep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c index 721d93b3ceee..5149c9bf7015 100644 --- a/drivers/acpi/sleep.c +++ b/drivers/acpi/sleep.c | |||
@@ -498,7 +498,7 @@ static void acpi_pm_thaw(void) | |||
498 | acpi_enable_all_runtime_gpes(); | 498 | acpi_enable_all_runtime_gpes(); |
499 | } | 499 | } |
500 | 500 | ||
501 | static struct platform_hibernation_ops acpi_hibernation_ops = { | 501 | static const struct platform_hibernation_ops acpi_hibernation_ops = { |
502 | .begin = acpi_hibernation_begin, | 502 | .begin = acpi_hibernation_begin, |
503 | .end = acpi_pm_end, | 503 | .end = acpi_pm_end, |
504 | .pre_snapshot = acpi_pm_prepare, | 504 | .pre_snapshot = acpi_pm_prepare, |
@@ -541,7 +541,7 @@ static int acpi_hibernation_begin_old(void) | |||
541 | * The following callbacks are used if the pre-ACPI 2.0 suspend ordering has | 541 | * The following callbacks are used if the pre-ACPI 2.0 suspend ordering has |
542 | * been requested. | 542 | * been requested. |
543 | */ | 543 | */ |
544 | static struct platform_hibernation_ops acpi_hibernation_ops_old = { | 544 | static const struct platform_hibernation_ops acpi_hibernation_ops_old = { |
545 | .begin = acpi_hibernation_begin_old, | 545 | .begin = acpi_hibernation_begin_old, |
546 | .end = acpi_pm_end, | 546 | .end = acpi_pm_end, |
547 | .pre_snapshot = acpi_pm_pre_suspend, | 547 | .pre_snapshot = acpi_pm_pre_suspend, |