diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-12-14 21:00:08 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-15 11:53:25 -0500 |
commit | 471452104b8520337ae2fb48c4e61cd4896e025d (patch) | |
tree | 8594ae4a8362014e3cccf72a4e8834cdbb610bdd /drivers/platform | |
parent | 0ead0f84e81a41c3e98aeceab04af8ab1bb08d1f (diff) |
const: constify remaining dev_pm_ops
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/platform')
-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 | }; |