diff options
Diffstat (limited to 'drivers/platform/x86')
-rw-r--r-- | drivers/platform/x86/acerhdf.c | 2 | ||||
-rw-r--r-- | drivers/platform/x86/eeepc-laptop.c | 2 | ||||
-rw-r--r-- | drivers/platform/x86/hp-wmi.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/platform/x86/acerhdf.c b/drivers/platform/x86/acerhdf.c index ab64522aaa64..be27aa47e810 100644 --- a/drivers/platform/x86/acerhdf.c +++ b/drivers/platform/x86/acerhdf.c | |||
@@ -460,7 +460,7 @@ static int acerhdf_remove(struct platform_device *device) | |||
460 | return 0; | 460 | return 0; |
461 | } | 461 | } |
462 | 462 | ||
463 | static struct dev_pm_ops acerhdf_pm_ops = { | 463 | static const struct dev_pm_ops acerhdf_pm_ops = { |
464 | .suspend = acerhdf_suspend, | 464 | .suspend = acerhdf_suspend, |
465 | .freeze = acerhdf_suspend, | 465 | .freeze = acerhdf_suspend, |
466 | }; | 466 | }; |
diff --git a/drivers/platform/x86/eeepc-laptop.c b/drivers/platform/x86/eeepc-laptop.c index 4226e5352738..e647a856b9bf 100644 --- a/drivers/platform/x86/eeepc-laptop.c +++ b/drivers/platform/x86/eeepc-laptop.c | |||
@@ -154,7 +154,7 @@ static struct eeepc_hotk *ehotk; | |||
154 | static int eeepc_hotk_thaw(struct device *device); | 154 | static int eeepc_hotk_thaw(struct device *device); |
155 | static int eeepc_hotk_restore(struct device *device); | 155 | static int eeepc_hotk_restore(struct device *device); |
156 | 156 | ||
157 | static struct dev_pm_ops eeepc_pm_ops = { | 157 | static const struct dev_pm_ops eeepc_pm_ops = { |
158 | .thaw = eeepc_hotk_thaw, | 158 | .thaw = eeepc_hotk_thaw, |
159 | .restore = eeepc_hotk_restore, | 159 | .restore = eeepc_hotk_restore, |
160 | }; | 160 | }; |
diff --git a/drivers/platform/x86/hp-wmi.c b/drivers/platform/x86/hp-wmi.c index c2842171cec6..f00a71c58e69 100644 --- a/drivers/platform/x86/hp-wmi.c +++ b/drivers/platform/x86/hp-wmi.c | |||
@@ -94,7 +94,7 @@ static struct rfkill *wifi_rfkill; | |||
94 | static struct rfkill *bluetooth_rfkill; | 94 | static struct rfkill *bluetooth_rfkill; |
95 | static struct rfkill *wwan_rfkill; | 95 | static struct rfkill *wwan_rfkill; |
96 | 96 | ||
97 | static struct dev_pm_ops hp_wmi_pm_ops = { | 97 | static const struct dev_pm_ops hp_wmi_pm_ops = { |
98 | .resume = hp_wmi_resume_handler, | 98 | .resume = hp_wmi_resume_handler, |
99 | .restore = hp_wmi_resume_handler, | 99 | .restore = hp_wmi_resume_handler, |
100 | }; | 100 | }; |